Thanks for the report I confirm that I can reproduce the problem.
I do not know yet the answer. Now I think strange that we use a characterStream for reading jpeg. 
S. 


On 3 Aug 2020, at 20:41, Offray Vladimir Luna C��rdenas <offray.luna@mutabit.com> wrote:

Hi,

Today I was an introduction to Pharo. As usual, I asked the learner to
taste the environment and syntax by running the examples in excellent
Sven's Elegant Code[1] (BTW, can I translate snips of  it to Spanish?).
When she was adapting the example 6 about converting JPGs to PNGs, we
get the error reported in this mail's subject. I tried running her
example in my machine with her images and with my own and still I got
the same error. What are we missing?

[1] https://medium.com/concerning-pharo/elegant-pharo-code-bb590f0856d0

We are using Pharo 8.x on Manjaro Gnu/Linux 64 bits.

Thanks,

Offray




--------------------------------------------
St��phane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, B��t.A, Park Plaza
Villeneuve d'Ascq 59650
France