Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: selmiak on Tue 13/11/2012 01:49:32

Title: name of the background image
Post by: selmiak on Tue 13/11/2012 01:49:32
how can I find out about the filename and filetype (png or jpg) of an imported background image of a room?
Title: Re: name of the background image
Post by: Gilbert on Tue 13/11/2012 02:09:33
(Correct me if I am wrong) you cannot. These information are lost after import.
The background images aren't stored as-is like the original file. Instead they're recompressed (not using lossy compression like JPEG so it's safe) with AGS's own scheme to be embedded in a room file. So it's not a wise thing to do in importing JPEG images as background as this won't help in saving disk space.
Title: Re: name of the background image
Post by: selmiak on Tue 13/11/2012 02:36:41
meh, too bad. But good to know, so the final BG will be png then ;)
Title: Re: name of the background image
Post by: Gilbert on Tue 13/11/2012 03:21:14
Yeah. It's recommended to use non-lossily compressed images for import. PNG is one perfect choice.