Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
jpg and tga
#8
Happy to help. Big Grin

It would be better to use JPG (or TGA or any other of those compressed formats). Once the IMG_Load function has loaded the JPG into memory, it is in the same format as any other BMP would be - the loading routine decompresses the file into its full form, which is then stored in memory.

Therefore, there is no difference in efficiency between using BMP or a compressed format - the only reason it would be better to use a compressed image file format is that the files you distribute with your program will be much smaller. Smile

-shiftLynx
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Reply


Messages In This Thread
jpg and tga - by xteraco - 02-17-2005, 01:53 PM
jpg and tga - by na_th_an - 02-17-2005, 04:09 PM
jpg and tga - by Antoni Gual - 02-17-2005, 04:19 PM
jpg and tga - by shiftLynx - 02-17-2005, 04:39 PM
jpg and tga - by shiftLynx - 02-17-2005, 04:47 PM
jpg and tga - by xteraco - 02-17-2005, 05:11 PM
jpg and tga - by xteraco - 02-17-2005, 05:53 PM
jpg and tga - by shiftLynx - 02-17-2005, 06:01 PM
jpg and tga - by xteraco - 02-17-2005, 06:16 PM
jpg and tga - by adosorken - 02-17-2005, 06:36 PM
jpg and tga - by Z!re - 02-17-2005, 06:48 PM
jpg and tga - by shiftLynx - 02-17-2005, 06:51 PM
jpg and tga - by Z!re - 02-17-2005, 06:59 PM
jpg and tga - by na_th_an - 02-17-2005, 08:03 PM
jpg and tga - by Joakim - 02-17-2005, 08:20 PM
jpg and tga - by Z!re - 02-17-2005, 08:25 PM
jpg and tga - by xteraco - 02-17-2005, 08:37 PM
jpg and tga - by fsw - 02-17-2005, 09:49 PM
jpg and tga - by Antoni Gual - 02-17-2005, 11:08 PM
jpg and tga - by Plasma - 02-17-2005, 11:47 PM
jpg and tga - by xteraco - 02-17-2005, 11:52 PM
jpg and tga - by fsw - 02-18-2005, 12:17 AM
jpg and tga - by shiftLynx - 02-18-2005, 12:27 AM
jpg and tga - by xteraco - 02-18-2005, 02:13 AM
jpg and tga - by xteraco - 02-18-2005, 02:39 AM
jpg and tga - by shiftLynx - 02-18-2005, 02:49 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)