Yes it is correct that Seaclear only created headers and not
some_chart.kap. All the moving bits of the script
Chart Maker are not visible. It's not exactly like "laws"and "sausages" in that it might turn your stomach if you know how they are really made...in this case the process can be transparent.
...unless the process doesn't spit the finished treat out the end; then we have to go look at "why"
The honest answer is "I don't know"....
I did figure out a work-around, but in trying to replicate the problem I learned more than anyone should know about image formats, but this is still not enough to give a informed answer....except
tib2bsb chokes on more than 127 colours.
This is made worse by running a number of image file formats through the
Chart Converter and they all worked. You posted that you started with a JPG. I tried a number of colour densities and the script never missed a beat.
...although, come to think of it, I never tried a 8,16,32, or 64 colour JPGs. They all had a gazillion colours. The script (with
convert did what it was suppose to do and kept the colours trimmed to 127.
However, strange things happened when I took a GIF extracted from a PDF file.
It starts out 4 coloured. (Yes, that's "Mostly Black" and three shades of white.)
Attachment:
4_colour_gif.png [ 19.63 KiB | Viewed 20046 times ]
convert tonga1.gif -colors 127 tonga_chart1.pngThe PNG becomes 256 rainbow-licious colours. Red is the second colour.
Attachment:
256_coloured_png.png [ 30.39 KiB | Viewed 20046 times ]
convert tonga_chart1.png -colors 127 tonga_chart1.gifIt becomes a differnent 4 colour dreary.
Attachment:
4diff_colour_gif.png [ 6.19 KiB | Viewed 20046 times ]
convert tonga_chart1.gif -colors 127 tonga_chart1.tifThis becomes 256 shades of snow goose and coal bin.
Attachment:
256_coloured_tif.png [ 23.01 KiB | Viewed 20046 times ]
If i execute
tif2bsb now it goes on strike.
To salvage all the work that I've put in I open the last image file...in this case tonga_chart1.tif, in the
Painting Program (
Ray> Graphics> Painting Program) and across the top menu bar select
Palette> Set Palette Size... and then change the number from 256 to
127.
Save the file and then execute the
tif2bsb command again.
Sure there might be a more elegant way....but by now we know humans are not meant to type in terminals and we just want to get the dang thing done.
We can save the elegance for another occasion.