jp2a icon indicating copy to clipboard operation
jp2a copied to clipboard

Floating point exception

Open dxlr8r opened this issue 9 years ago • 4 comments

Hellp, I get a "Floating point exception" when I try to execute this at CentOS 5.11 using the current code. I have compiled libjpeg (v9b) and jp2a myself. Any ideas?

Edit: I get the same error on my Mac with newest El Capitan, everything as vanilla as possible.

dxlr8r avatar Jul 27 '16 10:07 dxlr8r

Hi — give me a reliable way to reproduce this error, and maybe I can help. Cheers

cslarsen avatar Aug 20 '16 21:08 cslarsen

This should have been fixed now. Can you verify?

cslarsen avatar Nov 11 '16 09:11 cslarsen

$ curl -qs https://infected-mushroom.com/wp-content/uploads/2017/09/rtts.jpg | convert -liquid-rescale 200x100% -resize 120x60 - jpg:- | jp2a -b -
Floating point exception (core dumped)

Version: jp2a 1.0.7

Works for original image, but not for one spat out by imagemagick tools.

zaskokus avatar Mar 22 '19 12:03 zaskokus

If you pass --width=76, does this exception go away? It does for me.

rgov avatar Feb 03 '20 21:02 rgov