JPG screenshot support

Moderator: GZDoom Developers

User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Post by wildweasel »

KingofFlames wrote:because it takes forever to upload screenshots to post them(with dial-up) :(
You could always re-save them in Irfanview with a higher compression rating.
User avatar
Chris
Posts: 2940
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

The only advantage GIF has over PNG is animation support (which is what MNG is for).

As for PNG vs. JPG, PNG can use a lossy compression scheme just like JPG and any compliant decoder will still read it fine. Thing is, you need to convert 8-bit images (such as ZDoom screenshots) to true-color for lossy compression to work (so you'd effectively triple the source image size before compressing).
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

From what I can tell, ZDoom just slaps the doom palette on the image and saves it, even though all the colors in the palette aren't being used.
Could ZDoom check and see what colors are being used and crop unused colors out of the palette? That always seems to bring down sizes for me.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Killo Zapit wrote: When the dumb patent expires.

The patent has expired 2 years ago. And today there's really no need to use Gif anymore. PNG offers the same kind of compression (or better) and is more flexible.
User avatar
DoomRater
Posts: 8265
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Post by DoomRater »

GIF still has animation, but that's it.

And yay for patents expiring. This should mean more freeware GIF editors.
User avatar
Doomguy0505
Posts: 625
Joined: Tue Mar 29, 2005 4:53 am
Contact:

Post by Doomguy0505 »

Killo Zapit wrote:JPEGs suck and are evil. Don't use them. Ever. If you use JPEG your penis will fall off. Use PNG for images on the web. Or gif if you REALLY need to. Yeah, maybe give ZDoom the ability to save gifs. When the dumb patent expires. I used dial up all the time, and I never had a problem uploading PNGs. So there.
*Looks
It's still there.
User avatar
Enjay
 
 
Posts: 26517
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

Killo Zapit wrote:JPEGs suck and are evil. Don't use them. Ever. If you use JPEG your penis will fall off. Use PNG for images on the web. Or gif if you REALLY need to. Yeah, maybe give ZDoom the ability to save gifs. When the dumb patent expires. I used dial up all the time, and I never had a problem uploading PNGs. So there.
OK, same picture made by PSP - one PNG one JPG

JPG = 32.5KB
PNG = 222KB

Obviously quality is an issue, but quite often it doesn't matter. However, in many cases - especially for "images on the web" - a graphic being almost 7 times bigger than the other option is important.

In fact, reducing the picture to a paletised one and saving as a PNG and a GIF still left the JPG as the smallest file.

PNG = 46.8KB
GIF = 47.1KB
Last edited by Enjay on Thu Nov 24, 2005 9:32 am, edited 1 time in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Sigh...

Is this thread still alive...? :?
User avatar
Enjay
 
 
Posts: 26517
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

In case it came across as me arguing for JPG screenshot support: I think that would be a waste of time and effort. If I want to have my screenshots in JPG format for posting somewhere, it only takes me a few seconds to convert them. A lossy format for stuff that is saved to you HD (where space and speed is not an issue) seems silly and pointless. Having a good quality original shot seems for better even if I am going to convert it to a JPG for some other purpose.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

GIF does not support 32-bit. PNG does. 'Nuff said.
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

Then its a good thing ZDoom ain't 32-bit now is it?
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

Hirogen2 wrote:GIF does not support 32-bit. PNG does. 'Nuf said.
But it doesn't matter if the picture is never over 8-bit :p
User avatar
DoomRater
Posts: 8265
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Post by DoomRater »

Okay I posted to this topic and my comment was somehow deleted.

EDIT: Will people stop this already?
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”