Skip to content

Commit f4e6d0a

Browse files
committed
add 8.2 compat area
notes on autotrace debugging
1 parent 26b1fac commit f4e6d0a

26 files changed

+18633
-3
lines changed

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
started 8.3.0 on 28/3/16
22
- move path search stuff into _convert from _magick
3+
- added autotrace menu item
34

45
started 8.2.1 on 4/12/16
56
- tiny improvement to idle handling

TODO

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,47 @@
33
falsecolour output, drag sliders, occasional segv ... unreffing a region in
44
maplut_stop on an image that's already been freed? ouch
55

6-
is system_search_path working now?
6+
try:
77

8-
- need a compat folder for 8.2?
8+
- load image
9+
- extract green
10+
- size down to 128x128
11+
- save as x.v
12+
- restart nip2
13+
- load x.v
14+
- click trace
15+
- ^Q
16+
17+
see:
18+
19+
(nip2:29365): GLib-GObject-WARNING **: instance of invalid non-instantiatable type '(null)'
20+
(nip2:29365): GLib-GObject-CRITICAL **: g_signal_handler_is_connected: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
21+
(nip2:29365): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
22+
(nip2:29365): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
23+
(nip2:29365): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
24+
25+
try:
26+
27+
$ valgrind vips system "autotrace %s -output-format svg -output-file %s
28+
-despeckle-level 9 -line-threshold 1" --in x.v --out x2.v --in-format %s.ppm
29+
--out-format %s.svg[scale=2]
30+
31+
runs cleanly, so the error is probably in vips_call
32+
33+
try:
34+
35+
- load x.v
36+
- vips_call "system" ["autotrace %s -output-format svg -output-file %s"] [$in => [A1.value], $in_format => "%s.ppm", $out => true, $out_format => "%s.svg"]
37+
38+
see:
39+
40+
(nip2:30392): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT
41+
(object)' failed
42+
43+
- expose kernel option in vips_resize(), then use that in nip2 resize ... will
44+
need to be 8.4
45+
46+
need to be able to set enums to vips8 calls, maybe set as strings?
947

1048
- sharpen should use new interface?
1149

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ AC_OUTPUT([
382382
share/nip2/compat/7.28/Makefile
383383
share/nip2/compat/7.38/Makefile
384384
share/nip2/compat/7.40/Makefile
385+
share/nip2/compat/8.2/Makefile
385386
src/BITMAPS/Makefile
386387
src/Makefile
387388
test/Makefile

0 commit comments

Comments
 (0)