PNG converter for the site... Thread last updated on 2004-04-16 23:49:18

Posted by member 1949 on 2004-02-16 11:09:37

If your wondering where your bandwidth is going then I suggest fixing your jpg to png conversion.
I have uploaded 280k jpg in the screen shot section to see these files get converted to 6MB PNG files.
The dam profiles section is hogging more Bandwidth than your theme downloads...

Posted by member 1 on 2004-02-16 13:18:43 link

The move to PNG was made a long time ago in order to get some better compression of images. There is nothing to really fix with the conversion process because it is about how JPEG and PNG store the data that makes the big jump. In the next site rewrite we are considering other storage formats, we just haven't got to that point yet.

Posted by member 111608 on 2004-02-17 01:37:41 link

280 JPEG to 6 Meg PNG? That's a big jump. I've never seen a PNG at 6megs. Sounds like a BMP to me. 6megs would constitute no compression.

Posted by member 7 on 2004-02-17 05:30:44 link

Convert from BMP to PNG locally and try to upload the result

Posted by member 1 on 2004-02-17 13:03:10 link

once you completely understand how PNG compression works in conversions like that then you would understand the jump.

Posted by member 1949 on 2004-02-17 18:01:42 link

Guice: Maybe I did not come across clear enough...
I converted bmp to jpg reduced file size to 280k
I upload and then view the screenshot later and its massive.
Go and look at some screen shots on this site and check the properties of the image once downloaded in the browser and you will see huge file sizes. I have uploaded png files also and it does the same on these. I am just suggesting reworking the sites code to repair the issue. I know new site code is coming soon. This is bogging the bandwidth hardcore if even 10 people are veiwing SS or theme images.
Good luck guys...

Posted by member 1 on 2004-02-17 20:16:59 link

If 20 people went and looked at that image at the same time it wouldn't be bogging down our bw at all.

Posted by member 1949 on 2004-02-17 22:00:09 link

I read you guys can only handle 30 connections at once.
Assuming now this is a database bottleneck.
And not a network throttling issue.

Posted by member 1 on 2004-02-17 23:40:53 link

we can run 20 concurrent database processes. anything more than that and they would wait 1ms for the database to be read

Posted by member 97358 on 2004-02-22 01:45:56 link

Well even if it's not sucking up bandwidth, it still is taking what seems to be an unnecessarily long amount of time for the user to download. So there must be some sort of logical explanation for using PNG instead of JPEG that some people, including myself, are unaware of.

Posted by member 2112 on 2004-02-22 06:03:26 link

This issue has already been discussed so the admins are aware a peoples opinions. I can't be bother searching for the thread. But from what I remember JPG support may come in the future. I imagine that PNG was chosen for it's quality.

Posted by member 90007 on 2004-04-14 22:04:53 link

Why not just fire up photoshop (or The Gimp! for a free alternative) and save the image as a PNG yourself?

Then you control filesize.

As to why; there are many advantages to a PNG, most of which is that it's an almost lossless compression. Also, it's what's used all through lightstep because it loads as fast as a bmp and it supports real transparency. :)

Try it, you might just like it instead of jpg

Posted by member 1 on 2004-04-14 22:32:53 link

It was chosen for the lossless compression along with its great compression rates...however...when you have a wallpaper that has a lot of detail in it and you save it to JPG and then convert it to PNG the filesize jumps. Now if you save direct to PNG or BMP and upload the file size is somewhat normal, however still high because of the detail involved.

Posted by member 108 on 2004-04-16 06:39:46 link

JackandJohn: PNG is lossless compression, no almost about it. PNG uses the same compression algorithm as zip files, which is most definatly lossless.

Posted by member 90007 on 2004-04-16 23:49:18 link

DeViLbOi - Agreed, the file sizes are not comparable when you are massivly compressing, however, I think the ~30% increase in filesize from a max JPG is acceptable.

I don't see the point in converting from JPG to PNG for personal use, however, unless you edit after conversion (Lossless compression of the faults in lossy compression after all ;)

iuthe - Thx for clearing that up