New feature: hosting your images on JGO

This is really a small change, so everybody handing out medals will be severely punished.

Here we go:
[x] I realized I didn’t create a thread on that we could upload JARs already… (hereby solved)
[x] I realized that nobody was uploading JARs (for the [applet] tag, mind you)
[x] I realized way more than that, but to keep it ontopic, I’ll just say that people wanted to upload images without getting their picture quality ruined by 3rd party image hosters.
[x] I decided to only support JPG, as PNG is too darn big anyway.

[x] Without any further ado:

[x] More ado

I hope it won’t pressure JGO server ;D Gif also small.

I have a bunch of uncompressed high-dynamic range images at 1900x1900 that I really want to upload…I’m feeling repressed. (no medal for you)

Please tell me it’s TIFF. Or at least BMP ;D

Look people, Roquen is awesome. He gets me. This is why I add these restrictions.

You could probably upload those images as lots of tiny jar files and then use JGO’s applet tag feature to display them.

I can also just rename my PNG file to .jpg and upload it :smiley:

Great! To make a suggestion, you should let people upload images in PNG format for small and medium size images. JPGs can’t handle transparency and have very noticeable artifacts. It might be good to support PNGs since they’re very common and aren’t lossy. Limiting file types that way to save space is a good idea. Maybe you could get the resolution of a PNG and request the user reupload it or automatically convert it to JPG server side. That way people won’t upload screenshot sized PNGs. Also…


JPEG - 521 bytes


PNG - 400 bytes

You seem to be misinformed. Not in your technical knowledge, what you say is quite true (except for jpeg having very noticable artifacts, as that depends on the compression quality), but I must stress that I have limited free time, and for the sake of fluffy bunnies, this crap has to be coded in PHP, which makes me a bit furious.

So JPG + JAR it is :point:

I wouldn’t ask anyone to program something big in PHP. That would be cruel. I could write the function to implement something like that if you want. It looks like one might be able to get away with only a few function calls.

getimagesize
imagecreatefrompng
imagejpeg