Dramatic slowdown while resizing images by script
capellan2000 at gmail.com
Fri Apr 11 20:48:52 CEST 2014
On Friday 11-04-2014, Mark Waddingham wrote:
Thanks for the report.
I can confirm the slow-down - this is due to the changes to image filtering
made in 6.6. We need to revise that slightly I think as 'normal' now does
filtering on all platforms where as before it was a box filter on Mac and a
nearest filter on other platforms. (The 'normal' filter now appears to be a
fair bit slower).
I suspect the faint lines (I noticed some black ones in 6.5.2) are related
the cases where the space for the nested scaled image is not quite the right
size - you can only set image objects to pixel boundaries, and it could be
of the black holes in the images when scaled to certain sizes are no longer
aligned on pixel boundaries.
[ i.e. If hole is 30 x 30, and you scale 25%, the whole will be 7.5x7.5 - so
your original nested image is 30x30 and you scale down by 25% it will end up
being 7x7 and so leave a slight border ].
It is likely that the filtering in 6.6 is exacerbating this problem though.
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dramatic-slowdown-while-resizing-images-by-script-tp4678098p4678206.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode