This is my first post, I have search in this forum and others webs but I don't find a solution for my problem.
I'm triying to create a copy (or redimension) of an image but I need to generate the name automatically.
For example I have the image: ./my-path/my-image.jpg and I want to generate an image called ./my-path/my-image_small.jpg
I try something like this (but doesn't work):
Code: Select all
convert my-path/my-image.jpg -write mpr:tree +delete mpr:tree %d/%t_small.%e
Is there any way to do that? How the ImageMagick's escapes works?convert: unable to open image `0/%i.%e': No existe el fichero o el directorio @ error/blob.c/OpenBlob/2634.
ImageMagick Escapes:
http://www.imagemagick.org/script/escape.php
Thanks for answering!.
Sorry for my english.