Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where is TCLMagick in Linux/Debian

Status
Not open for further replies.

jlinkels

Technical User
Nov 4, 2013
1
Hello all,

It seems TCLMagick is no longer part of my Linux distribution Debian Wheezy. I solved this problem by shelling out to ImageMagick. It works and it does everything I want. Although keeping track of temporary files and clean-up adds complication.

My real problem is that a command like this:
exec /bin/sh -c "mogrify -draw \"text 100,100 'Hello World'\" myfile.png"
is not portable.
And doing like this seems to be the only way as it seems to be impossible to get quotes and escaped quotes right.

I would rather like to use TCLMagick, and avoid compiling it myself. Even when I am able to compile it now, it becomes a maintenance and distribution nightmare in the future.

Eventually I want to port and use the application on Windows as well.

jlinkels
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top