Hi,
I think the answer is no, but I want to check. Is there away of getting the size of the image before it it loading into memory using blitz commands (or possible anyone coded a API mod)? I know you can code the reading of the image header, but I'd need to do it for all image formats (BMP, JPG, PNG... etc) which would take ages.
Has anyone got a trick for doing this? At the moment I'm loading them into memory, getting the banksize, then using the automatic garbage collection to delete them straight afterwards. I'm a little jumpy about doing that way, especially as some of the images could be large.
Ideas?
Sin
I think the answer is no, but I want to check. Is there away of getting the size of the image before it it loading into memory using blitz commands (or possible anyone coded a API mod)? I know you can code the reading of the image header, but I'd need to do it for all image formats (BMP, JPG, PNG... etc) which would take ages.
Has anyone got a trick for doing this? At the moment I'm loading them into memory, getting the banksize, then using the automatic garbage collection to delete them straight afterwards. I'm a little jumpy about doing that way, especially as some of the images could be large.
Ideas?
Sin