Dramatic slowdown while resizing images by script

Alejandro Tejada capellan2000 at gmail.com
Fri Apr 11 14:48:52 EDT 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
we
made in 6.6. We need to revise that slightly I think as 'normal' now does
some
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
to
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
some
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
if
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.

Warmest Regards,

Mark.



--
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 mailing list