Search found 8 matches

by cejones
2019-05-21T11:08:55-07:00
Forum: Users
Topic: PNG comments commands
Replies: 11
Views: 12221

Re: PNG comments commands

identify -version Version: ImageMagick 6.9.10-11 Q16 x86_64 2018-09-08 https://www.imagemagick.org Copyright: © 1999-2018 ImageMagick Studio LLC License: https://www.imagemagick.org/script/license.php Features: Cipher DPC OpenMP Delegates (built-in): autotrace bzlib cairo fftw fontconfig fpx freety...
by cejones
2019-05-21T10:12:24-07:00
Forum: Users
Topic: PNG comments commands
Replies: 11
Views: 12221

Re: PNG comments commands

Well, I figured out how to resolve this issue:

Code: Select all

convert logo.png -set comment {@text.txt} logo.png
I guess the text file name needed to be inside curly brackets. All works for me now.

Thanks again!
by cejones
2019-05-21T09:59:18-07:00
Forum: Users
Topic: PNG comments commands
Replies: 11
Views: 12221

Re: PNG comments commands

Thank you fmw42... It is a nice step by step on how to read and set comments. Everything works as expected until the second to last command where i get this: $ convert logo.png -set comment "@text.txt" logo.png convert: unable to open image `is': No such file or directory @ error/blob.c/Op...
by cejones
2019-05-21T07:57:33-07:00
Forum: Users
Topic: PNG comments commands
Replies: 11
Views: 12221

PNG comments commands

In past versions of IM, I was able to do this command: identify -format %c image.png > comments.txt and it would save out the contents of the comments for image.png into comments.txt It seems that this command no longer works in the current version of IM (ImageMagick 6.9.10-11 Q16 x86_64 2018-09-08)...
by cejones
2019-05-21T06:48:32-07:00
Forum: Users
Topic: PNG file manipulation
Replies: 7
Views: 6285

Re: PNG file manipulation

-border works great and solves that question. Thank you snibgo. I really like your IM pages... lots of great scripts for me to learn from.
by cejones
2019-05-20T15:13:51-07:00
Forum: Users
Topic: PNG file manipulation
Replies: 7
Views: 6285

Re: PNG file manipulation

Thank you GeeMack. Yours is a cleaner looking line of code. I tested it and it works well. And thank you snibgo. I modified my montage code with -duplicate 8 and it indeed removes the need for multiple files. Awesome day... learned how to use duplicate, append and clone. Thank you all for the help!
by cejones
2019-05-20T14:10:15-07:00
Forum: Users
Topic: PNG file manipulation
Replies: 7
Views: 6285

Re: PNG file manipulation

Thank you fmw42. This works great. I now need to learn how duplicate, append and clone work so I can understand what this is actually doing

What if I wanted to add X number of pixels between each image... to space them out?

Chris
by cejones
2019-05-20T12:15:15-07:00
Forum: Users
Topic: PNG file manipulation
Replies: 7
Views: 6285

PNG file manipulation

I need to take a single PNG file, tile it 3x3 and then save it out, preserving the alpha channel. I have worked my way to the following command: montage original_file*.png -tile 3x3 -alpha set -geometry +0+0 tiled_file.png montage sucks because it requires I have 9 identical files in the working dir...