Page 2 of 2
Re: Loading large images, zooming and saving example revised
Posted: Fri Aug 30, 2013 10:31 am
by DK_PETER
@Lord.
I can't perform any test for three weeks. My friend is leaving for Norway (He's a craftsman).
But he told me, that he tried a TIFF image of 30000x30000 and it loaded.
I don't know the limits of Tiff files but he sounded sure of himself.
Edit:(Tiff can't be right..It has a limit of 4 bg. There's bigTiff, but that's under development afaik.)
Apparently he has no idea of what he loaded...
I hope someone can confirm this, otherwise I have to wait three weeks to find out for myself.
There must be others with better configurations on the forum than you and I, who can do some
testing to clarify real limitations. (Both for canvas and loadimage().)
If not...Guess I have to wait then..
Best regards
Peter
Re: Loading large images, zooming and saving example revised
Posted: Fri Aug 30, 2013 12:07 pm
by Lord
wilbert wrote:...
For a private application I completely agree.
But if I would buy an application, start that as the first application I'm running and it consumes everything available so I can't start another application, I would complain to the creator about it unless I'm warned in advance that it operates this way.
I totally agree with you, but this is not the issue here.
And I don't think that you would buy an application from me.

Re: Loading large images, zooming and saving example revised
Posted: Fri Aug 30, 2013 12:11 pm
by Lord
DK_PETER wrote:...
If not...Guess I have to wait then..
...
Me too.

Re: Loading large images, zooming and saving example revised
Posted: Tue Sep 24, 2013 11:15 am
by Lord
Hello Peter!
Any news?
Re: Loading large images, zooming and saving example revised
Posted: Tue Sep 24, 2013 3:11 pm
by IdeasVacuum
"Big Maps, Very big maps"
Made my day

(I know, easy to please)
Re: Loading large images, zooming and saving example revised
Posted: Tue Sep 24, 2013 4:27 pm
by DK_PETER
@Lord.
Sorry...No news. He's hasn't come home yet and I can't reach him.
I've been fiddling with it on and off.
Last test was done 4 days ago with a new GeForce GTX 770 /4 GB/16 GB.
I've tried creating images 'using photoshop' up to 30000*30000 and the
results with loadimage is a total fail, when trying to load such big images.
Only solution is to split the image into smaller parts and display them as needed..
I'm still waiting for him to get home, though. I would very much like to try
the code myself on his computer. (However - I believe, that the results will be completely the same).
Best regards
Peter
Re: Loading large images, zooming and saving example revised
Posted: Wed Sep 25, 2013 7:46 am
by Lord
IdeasVacuum wrote:"Big Maps, Very big maps"
Made my day

(I know, easy to please)
I'm proud to please you.

Re: Loading large images, zooming and saving example revised
Posted: Wed Sep 25, 2013 8:06 am
by Lord
@Peter
I Think there is no way to go beyond 2GB for any image
displaying on a Canvas utilizing PureBasic. Somewhere
between approx. 1.5 and 2.0 GB
you can't trust a returned
handle. So you can't test at runtime which image size can
be handled.
Also ScrollAreaGadget returns a valid handle if the Gadget
did not met the given dimensions.
Look here:
http://www.purebasic.fr/english/viewtop ... =4&t=56736