Re: [oS-EN] Image magick refuses to convert a true jpg file
"Carlos E. R." <[email protected]>
| Newsgroups | gmane.linux.suse.general |
|---|---|
| Message-ID | <[email protected]> |
On 2026-06-15 21:17, Daniel Bauer via openSUSE Users wrote:
>
>
> Am 15.06.26 um 20:21 schrieb Carlos E. R.:
>>
>> cer@Laicolasse:~/Photos/Para compartir con...> magick convert
>> IMG_20260615_195853218.jpg F_IMG_20260615_195853218.jpg
>> WARNING: The convert command is deprecated in IMv7, use "magick"
>> instead of "convert" or "magick convert"
>>
>> convert: attempt to perform an operation not allowed by the security
>> policy `IMG_20260615_195853218.jpg' @ error/blob.c/OpenBlob/3416.
>> convert: no images defined `F_IMG_20260615_195853218.jpg' @ error/
>> deprecate.c/ConvertImageCommand/3368.
>> cer@Laicolasse:~/Photos/Para compartir con.../>
>>
>
> The command per se makes no sense as it would just do a copy.
Sorry about that, it was a copy paste error when reproducing the part of the script that failed. It is:
cer@Laicolasse:~/Photos/Para compartir con...> magick convert -quality 70 -resize 1000x1000 IMG_20260615_195853218.jpg F_IMG_20260615_195853218.jpg
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"
convert: attempt to perform an operation not allowed by the security policy `IMG_20260615_195853218.jpg' @ error/blob.c/OpenBlob/3416.
convert: no images defined `F_IMG_20260615_195853218.jpg' @ error/deprecate.c/ConvertImageCommand/3368.
cer@Laicolasse:~/Photos/Para compartir con...>
When I remove the "convert" word, I get instead:
cer@Laicolasse:~/Photos/Para compartir con...> magick -quality 70 -resize 1000x1000 IMG_20260615_195853218.jpg F_IMG_20260615_195853218.jpg
magick: no images found for operation `-resize' at CLI arg 3 @ error/operation.c/CLIOption/5481.
cer@Laicolasse:~/Photos/Para compartir con...>
So the permission error is gone, but still getting an error. I hate when software changes the syntax.
--
Cheers / Saludos,
Carlos E. R.
(from openSUSE 16.0 (Laicolasse))
OpenPGP_signature.asc
(application/pgp-signature, 203 B)
-----BEGIN PGP SIGNATURE----- wmMEABEIACMWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCajBW5QUDAAAAAAAKCRC1MxgcbY1H1eBP AJ9ChoMmUoe6xlIroIXFhwvzLWY8JACgg/ohptkIanWc8BA71n4JEeU+Uzk= =I2Qa -----END PGP SIGNATURE-----