Which is the maximum resolution that can be handled, using the DeLuxe Sollution, Patrice?
Using PB 32-bit?
Actually, as i need to handle VERY LARGE PNG's (smallest 17000*10000) and possibly multiple of these,
i just thought that 32 bit is eventually not a good choice in this case.
What do you think?
Just seen that PureBasic has PNG Support since 2010.
Enumeration
#Image
#ClipImage
EndEnumeration
UsePNGImageDecoder()
UsePNGImageEncoder()
If LoadImage(#Image, FileName$) ; 512x512
If GrabImage(#Image, #ClipImage, 0, 0, 256, 256)
SaveImage(#ClipImage, ClipFileName$, #PB_ImagePlugin_PNG) ; 256x256
EndIf
EndIf
As this looks like a small project, this would be one way to go.
Is it a builtin "Freeimage" version?