PDA

View Full Version : fileBrowserDialog parse image size


beetz15s
11-07-2009, 03:04 PM
How do you use mel to open file browser and be able to parse the selected image for x and y pixel value of the image into a variable?

Is fileBrowserDialog the right way?

berniebernie
11-07-2009, 03:11 PM
http://ewertb.soundlinker.com/mel/mel.051.htm

beetz15s
11-07-2009, 03:27 PM
I want to use the file browser to select the image and then have its size parsed.

beetz15s
11-08-2009, 06:22 AM
help please

cbamber85
11-08-2009, 02:42 PM
I want to use the file browser to select the image and then have its size parsed.
So you want the resolution data to be available on file selection in the browser? Or when the user opens the image?

beetz15s
11-08-2009, 03:20 PM
Yes i want the resolution of selected file to be stored inside variables within a procedure.

Other method im thinking is to use the path to file as directory in a maya file node and use out size x and y from there to get the image size values.

CGTalk Moderation
11-08-2009, 03:20 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.