Page 1 of 1

Images beyond 8192x8192

Posted: Tue Aug 05, 2008 7:36 pm
by pcfreak
Well, some might or might not have ended up with the problem to get
images bigger than supported in PureBasic to be loaded. As I've some
hundred JPEGs over 100 MegaPixels which can only be shown by using
PureBasic with some Win API functions or by using external Libraries I'd
really like to get the 8192x8192 limit to be removed. I don't know how
much this affects the PureBasic functions but I don't understand why a
programming language should restrict the programmer. If I need to make
sure only smaller images can be made I'll check and restrict this myself.
It's not that I want to load some of my 65536x65536 PNG files in PureBasic
but at least the 12000x8000 pictures and such...

Posted: Thu Aug 07, 2008 4:55 pm
by Rook Zimbabwe
:!: 65536 pixels square is an image that would print out at:
64X64 inches at 1024 pixels to the inch resolution :!:

Thats almost 6 foot by 6 foot!

Commercial Images? Billboard? 8)

Posted: Thu Aug 07, 2008 6:33 pm
by Mistrel
You wouldn't want to keep an image that large in memory anyways. Break it up into smaller sectors and load them into multiple images.

Posted: Thu Aug 07, 2008 6:33 pm
by Kaeru Gaman

Posted: Fri Aug 08, 2008 1:25 am
by pcfreak
Commercial Images? Billboard? 8)
just some game screenshots...
You wouldn't want to keep an image that large in memory anyways. Break it up into smaller sectors and load them into multiple images.
12000x8000 is not even 300mb in memory. Currently you can even buy notebooks with 4GB ram for less than $700 so I don't think there is any problem with pictures like that, except that you can't really use them in purebasic (there is no flag for loadimage to load a chunk of an image) and even if there was one I don't want the language to restrict me, if there was a restriction it should be set by myself or the pc spec....

anyway, those restrictions are outdated, there are already even digital cameras with >50 mega pixels