Page 1 of 1

Some Channel operations are seriously slow

Posted: Sun Apr 15, 2007 7:22 am
by Timo Autiokari
Hi,

have you noticed that commands like:

var myCh = activeDocument.channels[0].name;

are sometimes _extremely_ slow.

It seems that every time the channels object is accessed it prepares the Histogram and the larger the image is the more slow the operation is.

So, when I first make a 1x1 pixel selection and then access the channels object it is very fast no matter what the image size is.

Timo Autiokari

Some Channel operations are seriously slow

Posted: Mon Apr 30, 2012 10:58 pm
by theiviaxx
thank you for posting this! Saved my butt