screenshots on website

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
not_a_commie
Posts: 19
Joined: Wed Mar 21, 2007 6:22 pm

screenshots on website

Post by not_a_commie »

I noticed that the new CivilFEM screenshots posted were in JPEG format. That's an embarrassing faux pas in my book. They should be PNG. I see this all the time. I'm not sure how to educate people on this.
FlyingIsFun1217
Posts: 219
Joined: Fri Apr 13, 2007 8:29 pm
Location: Illinois
Contact:

Re: screenshots on website

Post by FlyingIsFun1217 »

not_a_commie wrote:I noticed that the new CivilFEM screenshots posted were in JPEG format. That's an embarrassing faux pas in my book. They should be PNG. I see this all the time. I'm not sure how to educate people on this.
So...?

FlyingIsFun1217 :)
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

They should be PNG.
why?
Spintz
Posts: 1688
Joined: Thu Nov 04, 2004 3:25 pm

Post by Spintz »

WOW, I'm convinced, I'm not used JPG anymore......................... :roll: :roll:
Image
not_a_commie
Posts: 19
Joined: Wed Mar 21, 2007 6:22 pm

Post by not_a_commie »

Virion wrote:why?
JPG is for photos. It was designed for photos. Photos usually have no two pixels of the exact same color. The compression used in JPG takes advantage of how our eyes are sensitive to color to toss color information and thus reduce the size of the image. It chops it into 8x8 blocks, converts each to YUV, runs the discrete cosine transform on each channel in each block, quantizes the results (depending on the channel), etc.

This is a fine plan for photos, but a terrible plan for black text on a white background. PNG is lossless; it's not going to blur your text. In the average screen shot, it is typical to have an entire row of pixels all the same color. PNG, GIF, and other RLE image compression techniques can take advantage of this to store that information in a very small space. ("200 Whites" vs. "white, white, white...") PNG is not an RLE scheme per se, but uses a prediction technique that leads to a similar result. For the average screenshot, PNG will produce a file that is totally lossless and smaller than a JPG that blurs the text. If you crank the JPG quality on a screenshot to a level that you can see no blurring at all, it will likely be larger than a raw BMP of the screenshot.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Since 3d rendering aims at producing photo-realistic results in real-time it seems to be reasonable to keep JPEG for a while :wink:
3ddev
Posts: 169
Joined: Tue Sep 19, 2006 6:51 am
Contact:

Post by 3ddev »

I agree that JPG might not be the best format, but then again, if anyone finds the download times are an issue due to the increased sizes, they should consider getting a better internet connection. I really wish PNG would have better transparency support and also support for animation, like GIF. :wink:
Ico
Posts: 289
Joined: Tue Aug 22, 2006 11:35 pm

Post by Ico »

Maybe you confuse something? PNG has a full alpha channel while GIF only supports one transparent palette entry?

Oh and there is an "animated" format featuring PNG/JPEG out there called MNG. :)

Would be great to somehow use it (or another animated format) for animated textures. :)
Post Reply