Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Scuzling on Sun 01/02/2004 03:28:33

Title: Importing JPGs
Post by: Scuzling on Sun 01/02/2004 03:28:33
i thought AGS sprite manager supported JPGs but when i try to import there is no jpg option in the drag down box.... or was i dreaming that ags supports jpg lol
Title: Re:Importing JPGs
Post by: TerranRich on Sun 01/02/2004 04:56:10
You're dreaming it... Why would it, anyway? There's so much loss in a JPEG, just go with BMP...AGS stores it the same way anyway, much like a CD-burner would store audo tracks the same whether it were MP3 or WAV. :P
Title: Re:Importing JPGs
Post by: Scuzling on Sun 01/02/2004 06:54:13
haha damn i thought i might have been dreaming but the reason i wanted to use JPG because i thought it would make the overall game size a lot smaller
Title: Re:Importing JPGs
Post by: Ben on Sun 01/02/2004 22:25:46
Even if it did work, you wouldn't be able to use it with sprites, since the artifacts from compression would make transparency impossible..
Title: Re:Importing JPGs
Post by: Ytterbium on Mon 02/02/2004 00:00:10
Quote from: Ben on Sun 01/02/2004 22:25:46
Even if it did work, you wouldn't be able to use it with sprites, since the artifacts from compression would make transparency impossible..

Speaking of transparencies, why can't we import Gifs? It would make transparency a lot easier.
Title: Re:Importing JPGs
Post by: Gilbert on Mon 02/02/2004 06:20:38
Heh none of your are dreaming, JPEG and GIF imports WERE supported, but not anymore.
Reasons are:

1) Since no matter what format of images you used for importing, AGSedit automatically convert them to the same formats (sprites: uncompressed, backgrounds: some lossless compression format), so using JPEG for import WON'T help decreasing the size of the game, and since JPEG images were already lossily compressed, that means they suffer from some amount of detail loss, so JPEG import was removed so not to encourage anybodies to use it.

2) The original GIF importing library used in Room/AGSedit was quite buggy, it's causing damages and crashes and the likely kind of behaviour, so it was latter removed, seeing that it won't hurt without using them, as you can use PCX or BMP anyways.