Search found 6 matches

by mrc88
2019-04-24T10:36:23-07:00
Forum: Bugs
Topic: Duplicate images after conversion
Replies: 11
Views: 3600

Re: Duplicate images after conversion

I tried to insert the .sh file with the code mogrify -profile /var/www/html/cmyk.icc -profile /var/www/html/srgb.icc -quality 70 -resize 680 (also: magick mogrify -profile /var/www/html/cmyk.icc -profile /var/www/html/srgb.icc -quality 70 -resize 680 ) in the folder where there are images (without i...
by mrc88
2019-04-24T07:20:07-07:00
Forum: Bugs
Topic: Duplicate images after conversion
Replies: 11
Views: 3600

Re: Duplicate images after conversion

Why is it wrong?
Works properly from "Terminal"
The conversion from cmyk to rgb works, the maximum pixel size works, and I think the quality setting works.
by mrc88
2019-04-24T06:26:43-07:00
Forum: Bugs
Topic: Duplicate images after conversion
Replies: 11
Views: 3600

Re: Duplicate images after conversion

the line
exiftool -r -d %Y_%m_%d_%H%M%S.%%e "-filename<filemodifydate" /var/www/html/wp-content/uploads/img/
is managed by Exiftool, not by imagemagick
by mrc88
2019-04-24T02:59:29-07:00
Forum: Bugs
Topic: Duplicate images after conversion
Replies: 11
Views: 3600

Re: Duplicate images after conversion

Of course, here is my script. The "exiftool" command and the "mediafromftpcmd.php" file are executed correctly, unfortunately the "mogrify" (or "convert") no command. Thanks anyway for your help. You're very kind. Marco #!/bin/sh exiftool -r -d %Y_%m_%d_%H%M%S.%%e "-filename<filemodifydate" /var/www...
by mrc88
2019-04-23T11:45:34-07:00
Forum: Bugs
Topic: Duplicate images after conversion
Replies: 11
Views: 3600

Re: Duplicate images after conversion

Thank you very much. Now works. One last question a bit off topic: From the terminal I can convert all the files in the folder, if I insert the same code in a .sh file it won't work if I start it from the wordpress plugin. I mean that the whole .sh file is loaded correctly, only the "imagemagick" li...
by mrc88
2019-04-23T10:44:58-07:00
Forum: Bugs
Topic: Duplicate images after conversion
Replies: 11
Views: 3600

Duplicate images after conversion

Hi, I have a problem with imagemagick. Entering this command: convert /var/www/html/wp-content/uploads/img/*.* -profile /var/www/html/cmyk.icc -profile /var/www/html/srgb.icc -quality 70 -resize 680 /var/www/html/wp-content/uploads/img/*.* I have many duplicates of the converted images. I have no pr...