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 11:35, Daniel Bauer via openSUSE Users wrote: > > > Am 15.06.26 um 21:47 schrieb Carlos E. R.: >> So the permission error is gone, but still getting an error. I hate >> when software changes the syntax. >> > Masaru Nomiya has shown exactly how it’s done: the file to be read must > be specified first. That’s nothing new. Nothing has changed in the > syntax – at least for the functions I use – except that you should now > use `magick` instead of `convert`. It still works with the old > `convert`, though; you’ll just get a warning. Your errors have nothing > to do with that, but (first) with the policy and (second) with the wrong > order of the parameters. The syntax has changed. On 15.6 I had: cer@Laicolasse:~/Photos/Para compartir con...> cat convertir #!/bin/bash convert "$1" -quality 70 -resize 1000x1000 "F_$1" cer@Laicolasse:~/Photos/Para compartir con...> Now it is: magick "$1" -quality 70 -resize 1000x1000 "F_$1" And gives permission error. -- Cheers / Saludos, Carlos E. R. (from openSUSE 16.0 (Laicolasse))
OpenPGP_signature.asc
(application/pgp-signature, 203 B)
-----BEGIN PGP SIGNATURE----- wmMEABEIACMWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCajEb9wUDAAAAAAAKCRC1MxgcbY1H1ZM+ AJ0d7DLmqwlKlYSCHlBEiNI6nT4KYACfYcMN0WpfPYCT4XSTZ1leTasCzt4= =vOnf -----END PGP SIGNATURE-----