Einhander Sn0m4n wrote:Sample image is a 820x2250 (aka Very Large!) schematic of a thermonuclear railgun projectile, which, in the BMP file format, weighs 5.28MB on disk. This image was chosen to be representative of the output of an advanced MSPaint user in making a starship design. There are gradients and subtle color variations present within the schematic which are not present in the default Paint palette, as you can see. Most ship designers stick to the default Paint palette, which I suspect would give GIF an edge in this test.
The purpose of this experiment is to show which is the best file format to save a schematic of this type through a combination of file size, fidelity in rendition, and ease of data repair.
Schematic saved in MSPaint; default compression JPEG: 94kb; data damage apparent in form of smeared or blurry lines, edges, and fonts.
Schematic saved in Irfanview; default compression (85%) JPEG: 94kb; data damage slightly more visible.
Schematic saved in MSPaint; default compression GIF: 63kb; MASSIVE DAMAGE extremely obvious in the form of color dithering over very nearly the entirety of the schematic! File size is small for an image this size.
Schematic saved in Irfanview; default compression (85%) GIF: 139kb :wtf: Data damage in form of color inaccuracy present, readily seen in the gray gradients. Large file size!
Schematic saved in Irfanview, default compression factor (7) PNG: 26kb! No data damage visible at all due to lossless format. File size is clearly the smallest by a factor of 2.6 to its nearest GIF competition and nearly 4 against the JPEGs.
File Formats: Why we use certain ones and not others
Moderators: th15, Moderators
-
- Vice Admiral
- Posts: 1344
- Joined: Sat Sep 22, 2007 2:28 pm
File Formats: Why we use certain ones and not others
Repost from Stardestroyer.net.
-
- Vice Admiral
- Posts: 1344
- Joined: Sat Sep 22, 2007 2:28 pm
For photos, yes, the JPEG file format is optimized. This MSPaint weapon schematic is a different case entirely, being neatly at the other end of the range of scenarios with its hard edges and relatively simple coloring.
However, a BSF screenshot can be done with a PNG acceptably because it most likely doesn't have nineteen billion colors like a photo usually does, and the antialiasing isn't severe enough to cause color multiplication over every last tiny detail like a photo. I'd imagine a BSF screenie falls in between the two extreme scenarios but closer to the MSPainted schematic. This is why JPEG causes significant, irreversible, and highly visible damage for a gain in filesize efficiency small enough to be debatable.
However, a BSF screenshot can be done with a PNG acceptably because it most likely doesn't have nineteen billion colors like a photo usually does, and the antialiasing isn't severe enough to cause color multiplication over every last tiny detail like a photo. I'd imagine a BSF screenie falls in between the two extreme scenarios but closer to the MSPainted schematic. This is why JPEG causes significant, irreversible, and highly visible damage for a gain in filesize efficiency small enough to be debatable.
-
- Vice Admiral
- Posts: 1235
- Joined: Wed Jan 02, 2008 4:27 pm
- Location: Elysium
Since Danny already has given us a perfectly decent explanation as to which file format to use, I'll just cut this short:
Use .png files for screenshotting, keep away from ImageShack, and allow us to preserve the sanities we have been attempting to preserve for a really long time already.
Use .png files for screenshotting, keep away from ImageShack, and allow us to preserve the sanities we have been attempting to preserve for a really long time already.
[b]GONE UNTIL FURTHER NOTICE[/b]
-
- Vice Admiral
- Posts: 1344
- Joined: Sat Sep 22, 2007 2:28 pm
Yep.Master Chief wrote:keep away from ImageShack
Imageshack posts full-sized images, it's just frustrating to use and rather slow.Photobucket is so much easier to use, and it posts full size images.
"Okay. I'm gonna get your money for ya. But if you don't get the President of the United States on that phone, you know what's gonna happen to you?"
"What?!"
"You're gonna have to answer to the Coca Cola company."
"What?!"
"You're gonna have to answer to the Coca Cola company."
The thing with imageshack is that people don't usualy see the hidden direct link option on the bottom which makes the image viewing easier for others.Swamp Fox wrote:Imageshack posts full-sized images, it's just frustrating to use and rather slow.Photobucket is so much easier to use, and it posts full size images.
I think I should start listing some image hosting sites at some point and make little guides using them.
[img]http://i35.tinypic.com/ddoxt0.gif[/img]
-
- Commodore
- Posts: 535
- Joined: Mon Jul 21, 2008 1:04 pm
- Location: CT, America
I wrote: Irfanview can open every file type known to man, and several known to dolphin. Paint.NET is what happened when Photoshop knocked up MS Paint and sent the baby to live with GIMP.
Got Steam?
Join the official BSF Steam group today!
Sign up [url=http://steamcommunity.com/groups/wyrdysm]here![/url]
[img]http://i192.photobucket.com/albums/z148/JohnDG/sig-1.png[/img]
Join the official BSF Steam group today!
Sign up [url=http://steamcommunity.com/groups/wyrdysm]here![/url]
[img]http://i192.photobucket.com/albums/z148/JohnDG/sig-1.png[/img]