Fred's autocaption script failed
Posted: 2012-03-02T18:35:10-07:00
I tried Fred's script autocaption on Win XP under a korn shell which I have used 100s of times with IM.
autocaption -s 91 -t "467" grid467.tif cell467.gif
grid467.gif is size 176x220 pixels
It failed with this response:
Convert.exe: unable to parse expression `@+0' @ fx.c/FxGetSymbol/2515.
Convert.exe: invalid geometry `++4' @ geometry.c/ParseRegionGeometry/1322.
I thought it may be to do with fx: expressions, however
grep "fx:" autocaption did not seem to uncover (to my untrained eye) any
`untoward' expressions.
Extension:
An image is covered by a grid, each grid cell being about 1765x220 pixels.
A different one, or two or three digit (identification) number is to be
placed in each cell in a position that covers the least amount of
non-white (background is white). The height of the numbers is 55 pixels,
width of three digits is 91 pixels.
The above error report was obtained when testing autocaption with
the Infile being a copy of a sample cell.
Apart from the failure, I would appreciate some hints on applying
a version of autocaption to each of the cells of an image covered
by a 15x10 grid (laid out with an extension of Fred's script
`grid')
Regards
Damien
autocaption -s 91 -t "467" grid467.tif cell467.gif
grid467.gif is size 176x220 pixels
It failed with this response:
Convert.exe: unable to parse expression `@+0' @ fx.c/FxGetSymbol/2515.
Convert.exe: invalid geometry `++4' @ geometry.c/ParseRegionGeometry/1322.
I thought it may be to do with fx: expressions, however
grep "fx:" autocaption did not seem to uncover (to my untrained eye) any
`untoward' expressions.
Extension:
An image is covered by a grid, each grid cell being about 1765x220 pixels.
A different one, or two or three digit (identification) number is to be
placed in each cell in a position that covers the least amount of
non-white (background is white). The height of the numbers is 55 pixels,
width of three digits is 91 pixels.
The above error report was obtained when testing autocaption with
the Infile being a copy of a sample cell.
Apart from the failure, I would appreciate some hints on applying
a version of autocaption to each of the cells of an image covered
by a 15x10 grid (laid out with an extension of Fred's script
`grid')
Regards
Damien