Hi

Debian and Ubuntu do not have imagemagick 7 yet, even in Debian Unstable.
https://repology.org/project/imagemagick/versions
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929825

Some more info:
https://www.imagemagick.org/script/porting.php#cli
https://github.com/ImageMagick/ImageMagick/discussions/5279

What about a

try:
    magic-script ...
except:
    convert ...

or detecting the version 6 or 7, or executable name, of imagemagick?

Regards,
Jan




On Fri, 7 Jun 2024 at 10:35, John Cremona <[email protected]> wrote:

>
>
> On Fri, 7 Jun 2024 at 07:33, Dima Pasechnik <[email protected]> wrote:
>
>> On Thu, Jun 6, 2024 at 2:32 AM John H Palmieri <[email protected]>
>> wrote:
>> >
>> > I don't think I've seen this failure before:
>> >
>> > sage -t --long --random-seed=214696321465302976857414484526305325295
>> src/sage/plot/plot3d/tachyon.py
>> > **********************************************************************
>> > File "src/sage/plot/plot3d/tachyon.py", line 126, in
>> sage.plot.plot3d.tachyon
>> > Failed example:
>> >     r2 = os.system('convert '+fname_png+' '+fname_ppm)    # optional --
>> ImageMagick
>> > Expected nothing
>> > Got:
>> >     WARNING: The convert command is deprecated in IMv7, use "magick"
>> >     <BLANKLINE>
>>
>> Can you check that you see this warning when you use standalone
>> "convert" in terminal?
>> If so, that's an ImageMagick's deprecation introduced in a very recent
>> verision of it (in 7.1.1.25 there is no warning, as far as
>> I can tell)
>>
>> I think "magick" command is available for quite a while - perhaps we
>> can just replace our "convert" to "magick" throughout.
>>
>> Dima
>>
>
> On my computer with Ubuntu 22.04.4 LTS and imagemagick installed,
> "convert" works fine but "magick" is not there.
>
> John
>
>
>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-release" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-release/CAAWYfq1r5wEwSTisc1G%3Dc%3D2b%2BWf%2BDgw59yK2Sp21zQ2wr-nKbQ%40mail.gmail.com
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-release/CAD0p0K7LAHZ9G5f9HGAbD0X16_xtkBc9x5ifEKSN-VDjFvatnQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-release/CAD0p0K7LAHZ9G5f9HGAbD0X16_xtkBc9x5ifEKSN-VDjFvatnQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/CAAg%3Dp_0je3sr16-VxbSRXC7WWrsByDO01r_upKJ1-6c4rLjvbw%40mail.gmail.com.

Reply via email to