cslarsen / jp2a

Converts jpg images to ASCII
GNU General Public License v2.0
805 stars 72 forks source link

Floating point exception #1

Open dxlr8r opened 8 years ago

dxlr8r commented 8 years ago

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.

cslarsen commented 8 years ago

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

cslarsen commented 8 years ago

This should have been fixed now. Can you verify?

zaskokus commented 5 years ago
$ 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.

rgov commented 4 years ago

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