Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
jpg and tga
#11
PNG is also good, it's still lossy but not nearly as much as JPEG (PNG might lose like 100 pixels on a 640x480 images, so.. no big deal Tongue )
Reply
#12
Quote:It is more efficient to use BMP, and also preferred if you need to retain pixel perfect image quality since JPG is lossy. Use JPGs for stuff like photographs and realistic textures, but BMP is better suited for sprites and abstract textures.

True, true! Smile

Maybe you could use PNG. PNG is a lossless compressed format and the algorithm is free to use without any patent issues (Greg Roelofs is cool). Smile

But yeah, as ado said, JPGs aren't really used for games... TGAs are used for Counter-Strike and Half-Life, so they must be quite good. Smile I would stick with either PCX or PNG.

-shiftLynx
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Reply
#13
TGA can hold alpha channels, if I'm not misstaken.


And PNG does lose some pixels, not something you'll notice unless you run a byte compare.
Reply
#14
AFAIK, PNG and GIF are not lossy formats.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#15
I belive PNG can hold an alpha channel too, so it's just a matter of taste (and as other people said before me, it's lossless). I prefer PNG myself.
Reply
#16
Well, I compressed a BMP (1024x768x24bit) -> PNG

A few pixels had changed a tiny bit.. it was like, a dark blue pixel in the middle of a whole lot of darker blu pixels was a bit darker... such things.. not really loss.. more like.. color dimming.. or something...

Nothing you notice unless you specifically look for it..


PNG is deffinitely good to use if you want HQ textures.. instead of using BMPs that take like 8MB per texture Tongue


And I prefer PNG too =)
Reply
#17
so many formats...png sounds good to me tho, as the game were doing will prob have lots of textures :normal:
url=http://www.random-seed.net][Image: asylumsig.png][/url]
Reply
#18
Quote:In XP, there are GDI+ API calls delaing with JPEGS. Unfortunately they only works in XP...

Actually GDI+ comes with XP that's true...
but you can download the GDI+ DLL and install it on every Windows OS.
And AFAIK it should work.
Here is one location where you can download it:
http://www.dll-files.com/dllindex/dll-fi...ml?gdiplus

Take care
Reply
#19
I have GDI+ in my W2000 system because Office 2000 installed it.

MS says explicitly in his web that installing GDI+ independently of any software distribution is a license violation and a lot more lawyer's blah blah..

I never tried to move into a PC without Office and call a function to see if it works.Probably it must be unlocked by a MS installer...
Antoni
Reply
#20
Quote:Well, I compressed a BMP (1024x768x24bit) -> PNG

A few pixels had changed a tiny bit.. it was like, a dark blue pixel in the middle of a whole lot of darker blu pixels was a bit darker... such things.. not really loss.. more like.. color dimming.. or something...

Nothing you notice unless you specifically look for it..


PNG is deffinitely good to use if you want HQ textures.. instead of using BMPs that take like 8MB per texture Tongue


And I prefer PNG too =)

PNG is 100% lossless. Maybe you saved a true-color bitmap as a 256-color PNG?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)