This site will be updated sometime from a coupla hours to as much as a coupla days after a new version is posted here.
If you want the newest version right away, download the attachments posted in the post above and follow the instructions.
BUT, if you want it to be a little easier, you can download 7-Zip, and yuse the convert.cmd at the link above that will rename, combine and un-zip all at once. Just put the downloaded objects in the same directory as the convert.cmd and double-click the command.
When I get home tonight, I'll modify the page to show the date/time and link to the post of the version that was last downloaded, so it'll be obvious which one it is.
this is a bit of a reprise from the tiff2kap thread but is very cool and bears repeating?It's fun!
I love that I can do this with IMGKAP...
extract the chart,edit it and rebuild it.I wrote some simple scripts to do it quickly... imgkap_Extract2Edit.doc imgkap_AUTO_Rebuild.doc
You can read these in notepad and edit them too.Basically,they're Dacust's! but don't blame him!
to use em,rename them to ".bat",put them with a copy of imgkap in a folder with the chart kap you want to edit.That's easiest.And all you need!
Double click the "extract to edit" script,follow it's directions which is just to type the name of the chart you want to edit (I used M'dJ'sLiberty kap from post above here)and then,two files are extracted,both with "EX" in their name.The headerEX is just a text file,despite the ".kap".You can edit it but not in this example.Fool with it later...
Edit the EX.tif as you please in in an image editor,and then double click "AUTO rebuild" script which will recombine the two files as a kap using the original name adding "EX" to it so it won't get confused or overwrite the original.
but it works very well with any chart I've tried....In fact,when OpenCPN wouldn't open a Transverse Mercator,I ripped the chart open,rebuilt it and put it back in less than 30 seconds.In that instance,I edited the header...but that subject is well-covered elsewhere.Seems pretty handy!
Thanks again M'dJ for this very cool tool
Raster - Question about the color reduction "Quantize"
This question has been addressed in other threads, but it seems useful that I clarify the solutions and results.
Globaly, there are 2 methods to reduce colors.
The first is to make a frame, for example a gray is represented by a mixture of black and white.
This method is used eg for printing, printers have just black and 3 or 4 colors.
It works perfectly when the resolution is important, for example with a paper chart, but for zoom camera image this method is not correct.
This method is used by default in ImageMagick or irfanview.
The second method is to find the colors in the image and reduce the number of colors desired.
This method gives a loss of information or color accuracy, but it is effective for photos and satelliteimages.
There are many more or less intelligent algorithm processing, which uses more or less time.
In imgkap, the idea being to combine the color closest in the RGB cube.
This same method is done with ImageMagick option or in irfanview option or by default in Gimp.
The pictures much more advanced treatments may not do the math in RGB space, but in the HSL space or more.
Because the color is not an RGB, but a light wave, which only a portion is visible to the human eye.
In these advanced treatments, the reduction is done by taking into account these aspects.
Ci-dessous, Sample trame d'imprimerie and RGB cube.
(If necessary Imgkap reduced to 128 colors (not 127), the kap contains 128 colors and is working properly.
I have compared the results of imgkap with Gimp and zoom in IrfanView.)
I've been doing some comparisons,oldimgkap and NEW imgkap...
Here are some palettes from EXtracted tifs of two charts I made,so these are what the resulting kap looks like.
The first I made the png into a 128 colour tif before making it into a chart.The second is what your new,improved IMGKAP does automatically!
Both are from the same 24bpp,16mill colour "png"....so,I can shut up now about converting,eh?
And in case anyone doesn't know what this is about...
here's what M'dJ has fixed in the conversion processor he started with.It didn't happen all the time...and simple charts were fine.But....
kind of interesting and still navigable
now,of course it'sScotland 10EX.jpg
Size: 297.3 KB
ID: 26182" style="margin: 2px" />