FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) SaveImageFromImage() function with high resolution
Posts: 166
Joined: Wed Nov 25, 2015 07:13 PM
SaveImageFromImage() function with high resolution
Posted: Thu Feb 11, 2021 07:05 AM
Hello Antonio,

Last week I noticed that the SaveImageFromImage() is not working like acpected when I compile my program in high resolution (see post http://forums.fivetechsupport.com/viewtopic.php?f=5&t=39486.
When I compile and run the program in high resolution and I rescale an image to 1000 px wide the image in real gets a size of 2000 px. Therefore the disksize of the image is much more. With one image that is not a problem, but in my program there are 11.000 images.
When I run my program in low resolution the resizing goes well. I understand this has got to be related to the retina screens, but is there a solution to resize the images to a correct size.
I tested with rescaling it to 500 px wide; the image was after saving 1000 px wide with a resolution of 144x144. When I open such a picture it is shown very small on screen.
Kind regards,



René Koot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: SaveImageFromImage() function with high resolution
Posted: Thu Feb 11, 2021 09:33 AM

René,

I have checked it with Manuel and he advises to use two different images, with low resolution and with high resolution

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion