It seems this support was dropped in SageMath itself 6 years 
ago: https://trac.sagemath.org/ticket/20021

I prefer not to patch any "dependencies" without a very good reason - 
SageMath is installed from source in a standard way into a system with a 
bunch of system-packages preinstalled. I am happy to add more 
system-packages or more pip packages into SageMath install. But fiddling 
with SageMath source/install files used to cause a bunch of issues and I 
don't want to return to it.

Given that there were no complaints about jpeg support in 6 years and it is 
possible to use other formats, I'd say it is a feature. To "fix" it, one 
can increase build requirements for SageMath and adjust its installation 
scripts.

On Friday, 15 April 2022 at 01:33:43 UTC-6 [email protected] wrote:

> I recently noticed that PIL in SageMathCell no longer supports loading or 
> saving of JPEG files. Here's a short demo: 
> https://sagecell.sagemath.org/?z=eJxTVgjw9FHwCnB1VyhJLS7hSivKzwULZeYW5BeVKHjmJqancmXmpivYQth6eanlGupB7k7qOgoaZiY6CmYmmjoKyfk5-UW26sppiQbqmlzKQPV6xYllqRrqIEP1CvLSgaJoglkFQEEAb98mQQ==&lang=sage
>
> Pillow needs to be compiled with JPEG support enabled, as mentioned here:
>
> https://ask.sagemath.org/question/43298/how-to-fix-ioerror-decoder-jpeg-not-available/
>
> I have older scripts that use JPEG which no longer work, but I don't know 
> when they stopped working.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" 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-cell/2c586aea-dd39-4ae6-a680-0eff1bb023edn%40googlegroups.com.

Reply via email to