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-16 09:42, Marcus Meissner wrote:
> On Mon, Jun 15, 2026 at 08:21:01PM +0200, Carlos E. R. wrote:
>>
>> 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.../>
> 
> This currently can happen if the IMG_20260615_195853218.jpg is a symlink
> and not a true file. The security policy so far does not allow following
> symlinks (although we will change that to follow this for "read" ops).

It is a true file.


cer@Laicolasse:~/Photos/Para compartir con...> file IMG_20260615_195853218.jpg
IMG_20260615_195853218.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=12, width=2304, height=1728, manufacturer=motorola, model=moto g52, orientation=lower-right, xresolution=178, yresolution=186, resolutionunit=2, datetime=2026:06:15 19:58:54, GPS-Data], baseline, precision 8, 2304x1728, components 3
cer@Laicolasse:~/Photos/Para compartir con...>
cer@Laicolasse:~/Photos/Para compartir con...> l IMG_20260615_195853218.jpg
-rwxr----- 1 cer users 1223732 Jun 15 19:58 IMG_20260615_195853218.jpg*
cer@Laicolasse:~/Photos/Para compartir con...>



cer@Laicolasse:~/Photos/Para compartir con...> magick IMG_20260615_195853218.jpg -quality 70 -resize 1000x1000 F_IMG_20260615_195853218.jpg
magick: attempt to perform an operation not allowed by the security policy `IMG_20260615_195853218.jpg' @ error/blob.c/OpenBlob/3416.
cer@Laicolasse:~/Photos/Para compartir con...>

The configuration is the default for Leap 16.0, I have not touched it.

-- 
Cheers / Saludos,
                
		Carlos E. R.

   (from openSUSE 16.0 (Laicolasse))
OpenPGP_signature.asc (application/pgp-signature, 203 B)
-----BEGIN PGP SIGNATURE-----

wmMEABEIACMWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCajEacAUDAAAAAAAKCRC1MxgcbY1H1fw+
AJ4z+OfTNqfyco7O6G6tXZ+YbuFCegCeMg//J97X8aunc7NaAur7o0Q9mfA=
=8gwg
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.