PDA

View Full Version : Write to image? Is it possible?


GreenBomber
09-07-2006, 05:18 PM
Just wondering if anyone would know of a way to write to a image, for example at a certain x,y pixel coordinate change the color to a certain rgb value. Any help with this would be most appreciated, even if it's not a clearcut solution I'll take anything. (I'm using tifs if it makes a difference)

Thanks

gramdel
09-11-2006, 01:55 PM
I'm not sure if this can be done using mel only, but you could install ImageMagick

http://www.imagemagick.org/script/index.php

and initiate relevant imagemagick commands from mel using the system command.

/---
ap

cpan
09-11-2006, 03:02 PM
if you plan to write to an ascii image format (such as *.XPM) then it is possible to do it with MEL, though i guess it would be pretty slow, depending on the image resolution.

DennisRoche
09-14-2006, 07:25 AM
Try ImageMagick using the TCL/TK to interface with MEL. TCL and MEL are very similiar.
http://tclmagick.sourceforge.net/TclMagick.html

If you want to get started learning TCL I found this really cool resource site the other day.
http://www.fundza.com/
http://www.fundza.com/tcl/intro/intro.html


I'm going to try this now... I'll post my results soon :)

CGTalk Moderation
09-14-2006, 07:25 AM
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.