[RPG]Saving image performance

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
MegumiSawada
Posts: 268
Joined: Tue Feb 19, 2013 5:18 pm

[RPG]Saving image performance

Post by MegumiSawada »

Hi,

The customer used to use i-Pad Air2 but recently they switch to iPad Pro.
The resolution is much higher on iPad pro, so the response of saving image got incredibly worse.
It takes 3 to 5 minutes to save a couple of photos.

They tried to use "NewImage.Resize : 10%" but the saved image is too small(not acceptable) even though the response is fine.
What I can think of to work around this issue is to use NewImage.Resize.Width/height and find the acceptable size/performance.

Is there any other way to solve this issue?
I appreciate your kind advice.

Best Regards,
Megumi Sawada
tsupartono
Posts: 289
Joined: Wed Apr 18, 2012 10:21 am

Re: [RPG]Saving image performance

Post by tsupartono »

Yes that's the correct way.
You should always specify the desired image dimension, especially when you different types of client devices (so that you have consistent size across all pictures taken).

It's best to specify the landscape (or portrait) width/height using the PT or LD property, so the width/height will be adjusted depending upon the picture's orientation.
For example, if your desired size is 600x400 for landscape pictures (and 400x600 for portrait), you should specify the following:

ImageSize.Width.LD: 600
ImageSize.Height.LD: 400
Post Reply