Comments (5)
Manually using imagemagick convert trace01.bmp trace01.pbm
produces a pbm image that works fine. Converting to png does not work for me, it prints a chunk error like
y[B8][AD][D9]: invalid chunk type
-- but that is probably a different issue.
from autotrace.
Could you please attach test_image.bmp?
from autotrace.
Thanks. It does seem to be image dependent. I've tested it on the two images below in the zip file. One is half the size of the other. It works on the smaller of the two. So
autotrace -centerline -output-file test.svg -output-format svg -report-progress trace02.bmp
works but trace01.bmp does not.
from autotrace.
I can reproduce the crash on Ubuntu18.04
Core was generated by `autotrace -centerline -output-file test.svg -output-format svg trace01.bmp'.
Program terminated with signal SIGSEGV, Segmentation fault.
0x00007ffff7bbd39a in at_bitmap_get_color (bitmap=0x555555787de0, row=285, col=4294967295, color=0x7fffffffda65) at src/autotrace.c:210
210 at_color_set(color, p[0], p[1], p[2]);
(gdb) where
#0 0x00007ffff7bbd39a in at_bitmap_get_color (bitmap=0x555555787de0, row=285, col=4294967295, color=0x7fffffffda65)
at src/autotrace.c:210
#1 0x00007ffff7bbf38e in is_valid_dir (row=284, col=0, dir=SOUTHWEST, bitmap=0x555555787de0, marked=0x555555787d40)
at src/pxl-outline.c:208
#2 0x00007ffff7bc017e in find_centerline_pixels (bitmap=0x555555787de0, bg_color=..., notify_progress=0x0, progress_data=0x7fffffffdcdc, test_cancel=0x0, testcancel_data=0x0, exp=0x7fffffffdc50) at src/pxl-outline.c:256
#3 0x00007ffff7bbd7f4 in at_splines_new_full (bitmap=0x555555787de0, opts=0x555555787ce0, msg_func=0x555555557b28 <exception_handler>, msg_data=0x0, notify_progress=0x0, progress_data=0x7fffffffdcdc, test_cancel=0x0, testcancel_data=0x0) at src/autotrace.c:289
#4 0x0000555555556564 in main (argc=7, argv=0x7fffffffde38) at src/main.c:147
(gdb)
from autotrace.
Should now work fine with the patches provided here:
#15
from autotrace.
Related Issues (20)
- mac m1 load png picture I[AF]m[CB]: invalid chunk type HOT 4
- Autotrace PNG support on Windows HOT 1
- make fails - png.h not found HOT 5
- Centerline Tracing - Multiple paths instead of a single path
- Release dependencies HOT 13
- sudo make install fails HOT 5
- Compile Windows exe please HOT 2
- Compiling binary to run on AWS Lambda?
- pkg-config file lists many libraries as 'Libs', should use 'Requires.private' HOT 5
- png format cannot generate svg with transparent background
- windows: no output file written
- No output for help on Windows HOT 2
- install fail - no target HOT 17
- Inaccurate alleged maximum ImageMagick version HOT 1
- autotrace 0.31.10 misidentifies itself as 0.40.0
- Is it time to remove libming / SWF support? HOT 1
- warning: converting the result of '<<' to a boolean always evaluates to false HOT 2
- make error - library 'ltdl' not found HOT 10
- macOS homebrew package HOT 2
- Bug in package config file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autotrace.