Bitcoin Forum
November 24, 2017, 02:40:51 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: base64 images  (Read 1481 times)
worhiper_-_
Hero Member
*****
Offline Offline

Activity: 700


View Profile
December 30, 2015, 10:54:30 PM
 #1

Several issues with how the forum handles images right now: Image hosts come and go, bitcointalk's image proxy isn't the very reliable, popular image hosts tend to delete controversial images.

I think that allowing base64 images to be posted could help solve those problems, at least for those willing to use the em.
1511491251
Hero Member
*
Offline Offline

Posts: 1511491251

View Profile Personal Message (Offline)

Ignore
1511491251
Reply with quote  #2

1511491251
Report to moderator
1511491251
Hero Member
*
Offline Offline

Posts: 1511491251

View Profile Personal Message (Offline)

Ignore
1511491251
Reply with quote  #2

1511491251
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511491251
Hero Member
*
Offline Offline

Posts: 1511491251

View Profile Personal Message (Offline)

Ignore
1511491251
Reply with quote  #2

1511491251
Report to moderator
1511491251
Hero Member
*
Offline Offline

Posts: 1511491251

View Profile Personal Message (Offline)

Ignore
1511491251
Reply with quote  #2

1511491251
Report to moderator
worhiper_-_
Hero Member
*****
Offline Offline

Activity: 700


View Profile
January 12, 2016, 04:28:51 PM
 #2

bump, I guess.
dogie
Legendary
*
Offline Offline

Activity: 1442


dogiecoin.com


View Profile WWW
January 12, 2016, 05:28:01 PM
 #3

What specifically would base64 images help?

minifrij
Legendary
*
Offline Offline

Activity: 1512


Bored.


View Profile WWW
January 12, 2016, 06:08:11 PM
 #4

What specifically would base64 images help?
If the image is hosted onto a website and the website goes down, the image would likely be removed from the post. If base64 was used it wouldn't matter if any website went down due to the image being hosted on here.

I think the problem comes in that it would take more effort to implement than it would be worth; very few users would use the base64 system. Perhaps suggest it in the New Forum Software board, but don't get your hopes up.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
Lauda
Legendary
*
Offline Offline

Activity: 1680


GUNBOT Licenses -15% with ref. code 'GrumpyKitty'


View Profile WWW
January 12, 2016, 07:26:41 PM
 #5

If base64 was used it wouldn't matter if any website went down due to the image being hosted on here.
Wouldn't that take up more resources (i.e. storage) for the forum?


▄██████████████████
███████████████████
███████████████████
█████████████████
███████████████
████████████████
████████████████
█████████████████
███████████████████
████████████████████
█████████████████████
▀████████████████████
Bazista®
██ █  ██ ██
██   ██  ██
██  ██   ██
██ ██  █ ██
██ █  ██ ██
██   ██  ██
██  ██   ██
██ ██  █ ██
██ █  ██ ██
██   ██  ██
██  ██   ██
██ ██  █ ██

██ █  ██ ██
██   ██  ██
██  ██   ██
██ ██  █ ██
██ █  ██ ██
██   ██  ██
██  ██   ██
██ ██  █ ██
██ █  ██ ██
██   ██  ██
██  ██   ██
██ ██  █ ██
|||
minifrij
Legendary
*
Offline Offline

Activity: 1512


Bored.


View Profile WWW
January 12, 2016, 07:51:30 PM
 #6

Wouldn't that take up more resources (i.e. storage) for the forum?
Yes; base64 images are just huge blocks of code.

For example, the base64 for Grin is:
Code:
data:image/gif;base64,R0lGODlhDwAPANUAAAAAAMyZAH9yAMzMzFFIAIaGhjEoAFxcXP/MAGZmZv///5mZmbiUAOLIABwaAEY9AK2KAP/wAGlUADs7Ow4LAODg4NywAL+/v+7hAP/cAL+mAIB4AGBOAMezAHNcACkiADozAOy9ALCrAPbFAJ1+AK6uru3t7b+6AGJaAP/mADMzAIqKimZmZnlhAOzRAP/4AH94AFlHAFJCABEQAMyjAKKiorydAOfn50U9AP/WACMcACsoAG1XAPDnANC0AJmZmSH5BAUUAD8ALAAAAAAPAA8AAAaowJ/wd5DNADPCYTgsGBwCn+vU+qgKzZkEkUulIhEMaob9GTzcjDfyahNUxM/IZgAIIgKA6tSbFVsIHAwZAikbPSIoESgEMzQIaWpgkx1HIQAUVg8gIDs7DjMNSDQUNyYAA6kAFQM4GjMyHhIrCgAKt7Y1HhwyBx8WIBe2uAMTNn5mEgy9CxclCQY2MQZCBbAjELIeJBZGZT9OWgEhATwOBt9DRUewS0NBADs=
As you can imagine, the bigger the image the more base64 needed and the more needed to store.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
worhiper_-_
Hero Member
*****
Offline Offline

Activity: 700


View Profile
January 12, 2016, 08:04:54 PM
 #7

If base64 was used it wouldn't matter if any website went down due to the image being hosted on here.
Wouldn't that take up more resources (i.e. storage) for the forum?

That's true. Base64 increases the size of images nearly 30%, and if we wanted to cut off middlemen to take advantage of the pros I mention it should be hosted on the forum as text. Thing is, the forum is already storing quite a lot of text, base64 would likely end up being used by advanced users which imo wouldn't be a big percentage. The main advantage would be that images using base64 would stay up as long as the forum does, plus there's not going to be any need for proxying (which has proven to be unreliable).
ABitNut
Hero Member
*****
Offline Offline

Activity: 763


I'm a cynic, I'm a quaint


View Profile
January 13, 2016, 12:38:52 AM
 #8

In the spirit of decentralization I have to suggest that you host your own images. That will bypass the "image host come and go" and "image hosts tend to delete controversial images". I am not familiar with details around the image proxy, so that may still be a problem Tongue


              ▄
            ▄███▄
          ▄███████▄
   ▄▄▄    █
█████████
   ███
    ███████████▄
██    ████    ████████▄
      ████    ██████████
  ████    ████▀██████████
  ████    ██▀   ▀█████████▄
      █████       █████████▄
      ███▀         ▀████████
  ██████▀           ▀███████
  █████▀             ▀█████
   ████ █▄▄▄     ▄▄▄█ ████
    ███ ▀███████████▀ ███
     ▀▀█▄ █████████ ▄█▀▀
        ▀▀▄▄ ▀▀▀ ▄▄▀▀
●●
●●
●●
●●
●●
●●
|●  facebook
●  reddit
●  ann thread
|
█ ██
█ ██ █
█ ██ █
█ ██ █
█ ██ █
█ ██ █
█ ██ █
█ ██ █
█ ██ █
█ ██ █
█ ██

██ █
█ ██ █
█ ██ █
█ ██ █
█ ██ █
█ ██ █
█ ██ █
█ ██ █
█ ██ █
█ ██ █
██ █
samuel999
Full Member
***
Offline Offline

Activity: 187



View Profile
January 13, 2016, 02:09:06 AM
 #9

If base64 was used it wouldn't matter if any website went down due to the image being hosted on here.
Wouldn't that take up more resources (i.e. storage) for the forum?

That's true. Base64 increases the size of images nearly 30%, and if we wanted to cut off middlemen to take advantage of the pros I mention it should be hosted on the forum as text. Thing is, the forum is already storing quite a lot of text, base64 would likely end up being used by advanced users which imo wouldn't be a big percentage. The main advantage would be that images using base64 would stay up as long as the forum does, plus there's not going to be any need for proxying (which has proven to be unreliable).
Would there be a way that we could encode those images as text but not have to take up so much space? Something that makes it at least the size of the image, if not smaller, but definitely not bigger.

▄     PROPTHEREUM         ASSET BACKED PROPERTY ON THE BLOCKCHAIN     ▄     PROPTHEREUM    
▌   CROWDSALE STARTS 20 NOVEMBER 2017   ▐     WhitePaper     ANN Thread     Facebook     Twitter
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
grue
Global Moderator
Legendary
*
Offline Offline

Activity: 2044



View Profile
January 13, 2016, 03:14:48 AM
 #10

There are better ways to solve the problem than getting the forum to host the image for you via a hack. How about tor hidden services? Magnet links?

Would there be a way that we could encode those images as text but not have to take up so much space? Something that makes it at least the size of the image, if not smaller, but definitely not bigger.
Images are big to begin with and jpg/png images are already compressed, so it's not like you can make it smaller. You can use more exotic encoding schemes to squeeze more bytes into a singe character, but that doesn't help much.

It is pitch black. You are likely to be eaten by a grue.

Tired of annoying signature ads? Ad block for signatures
worhiper_-_
Hero Member
*****
Offline Offline

Activity: 700


View Profile
January 13, 2016, 02:42:52 PM
 #11

There are better ways to solve the problem than getting the forum to host the image for you via a hack. How about tor hidden services? Magnet links?

Tor hidden services aren't ideal for hosting and sharing content. I'm not sure about what you have in mind for image hosting, but from personal experience I'd say that .onion sites have a hard time competing with clearnet ones in terms of uptime and general reliability. Wouldn't it also require a "hack" to display images hosted using "hidden services" here?

As of magnet links, I could think of some issues but first of all, has a way to host and embed images using magnet links been developed yet?
minifrij
Legendary
*
Offline Offline

Activity: 1512


Bored.


View Profile WWW
January 13, 2016, 03:18:05 PM
 #12

There are better ways to solve the problem than getting the forum to host the image for you via a hack. How about tor hidden services? Magnet links?
I think the problem with both of those is that they would put more strain on the server than base64 would as they would require other software to work.
Using a tor hidden service would require some sort of mirror from darknet to clearnet (which is also unreliable; the majority of tor2web mirrors currently only work on certain browsers) and using a magnet link would require a torrent client to be not only getting the images available to view but seeding them to be sure that they do not die.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
Zeroxal
Hero Member
*****
Offline Offline

Activity: 728


https://keybase.io/zeroxal/key.asc


View Profile WWW
January 13, 2016, 08:49:15 PM
 #13

If we were allowed to host images directly on the forum there would already be a feature integrated within the forum. That's the exact same reason why the forum only accepts pictures from third party hosters. Mainly because of security reasons though...
"A picture says more than a thousand words" - that's true. Pictures can even take more space than millions of words to store on the server. And bitcointalk already needs to handle the "text" traffic and storage.
If we would start using base64 images all over the forum and let the forum store all the images, these images will get banned in no time.

And I really don't understand why people would want to let an image stay on a thread/post forever...

However, the forum could integrate an automatic system that uploads the image directly to imgur, etc and get the link instantly. (Like the browser extention I saw some time ago. I think it was Bitcointalk+ or something like that :/)
HITTI2
Hero Member
*****
Offline Offline

Activity: 533



View Profile
January 13, 2016, 10:53:39 PM
 #14

Might help with image hosting.

4TB. $8k$14k large.
http://www.intel.com/content/www/us/en/solid-state-drives/solid-state-drives-dc-p3608-series.html

http://www.intel.com/buy/us/en/product/components/intel-ssd-dc-p3608-series-40tb-12-height-pcie-30-x8-20nm-mlc-485298

12NcNYb2oEh6ANo95AakEjPqQdgbcxh4m9
BURST-W7HD-8VVV-X6L3-4EYLJ
Win7x64 Pro, Acer XB240H, Corsair Obsidian 750D Black,DEMCifilter Corsair Obsidian 750D Dust Filter Kit,Delidded i7-3770K OC'd@4.5GHz, F3-12800CL8D-8GBXM, MSI GeForce GTX 960 2GD5, ASUS Xonar D1, Vantec UGT-ST644R, ASRock Z75 Pro3, EVGA SuperNOVA 750 G2 PSU, EK-KIT L240, 2 x NF-A14-FLX Fans, 2 x Samsung 840 Pro 128GB RAID 0 32KB strip, WD Re WD1003FBYZ 1TB,2TB HGST/Hitachi (HUA723020ALA641),2 x HGST A7K3000 HUA723030ALA640 3 TB, Vertex II 60GB,Samsung SH-S223L.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!