Hi, is there a possibility to get info within the pd patch whether pix_image has successfully loaded an image? I am reading files from a network drive which sometimes is not accessable, and in that case I would like to get an error message from pix_image, or a success message if the image was loaded. any ideas? thanks. marius.
Nothing in the output window ?
Jack
Le 8 juin 07 à 19:16, marius schebella a écrit :
Hi, is there a possibility to get info within the pd patch whether
pix_image has successfully loaded an image? I am reading files from a network drive which sometimes is not accessable, and in that case I would like to get an error message from pix_image, or a success message if the image was loaded. any ideas? thanks. marius.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
yes, I get a message in the output window, but I cannot use the output window to trigger actions within Pd. marius.
Jack wrote:
Nothing in the output window ?
Jack
Le 8 juin 07 à 19:16, marius schebella a écrit :
Hi, is there a possibility to get info within the pd patch whether pix_image has successfully loaded an image? I am reading files from a network drive which sometimes is not accessable, and in that case I would like to get an error message from pix_image, or a success message if the image was loaded. any ideas? thanks. marius.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 6/8/07, marius schebella marius.schebella@gmail.com wrote:
yes, I get a message in the output window, but I cannot use the output window to trigger actions within Pd. marius.
There is a way to do this depending on platform. pix_film will load images on OSX (and should on Windows) and it gives the frame count as 1 if loaded or 0 if not through the middle outlet.
Having a status report in the patch itself is useful and worth a look.
oh, good idea! and I also found out that I can use pix_info to detect whether there is an image in the gem chain. marius.
chris clepper wrote:
On 6/8/07, marius schebella marius.schebella@gmail.com wrote:
yes, I get a message in the output window, but I cannot use the output window to trigger actions within Pd. marius.
There is a way to do this depending on platform. pix_film will load images on OSX (and should on Windows) and it gives the frame count as 1 if loaded or 0 if not through the middle outlet.
Having a status report in the patch itself is useful and worth a look.
Hallo, marius schebella hat gesagt: // marius schebella wrote:
yes, I get a message in the output window, but I cannot use the output window to trigger actions within Pd.
It's only a workaround, but Hans has written a [stat] external, see CVS/hcs/stat.c You can use it to get file info before trying to load it into pix_image.
Frank Barknecht _ ______footils.org_ __goto10.org__