Pretty damn spiffy. A screen capture not showing the whole story, but
it shows enough. I even tossed in a red line as a break showing an important
data division in the AMP file.
So what's the deal? If I showed you the whole thing, you would notice
a pattern. The data is divided into chunks of 256 bytes. In the above,
the first chunk starts at line 000h and ends at 0f0h. Notice how the bytes
in that range go from #00 - #FF, or 0 - 255. That chunk set is a straight
line in the Curves dialogue going from corner to corner.
Each chunk represents a channel in the Curves dialogue. But things get
a bit weird around this. The number of channel chunks depends on the mode
(RGB, CMYK, etc.) and the modifications made. From here on out, just RGB.
Run Curves and put it in arbitrary mode. Don't make any modifications
at all to *any* channel. Click "Save" and save it. If you then
open the resulting AMP file in a hex editor, there will be 3 channel chunks,
one for each R, G, and B channels. Kind of makes sense, don't it?
Now, in the Curves dialogue, you can make changes to RGB, R, G, and B
using the pull-down menu. If you make changes to R, G, or B, but not RGB,
the AMP file will still have 3 channel chunks. Still makes sense, don't
it? Here, it goes something like this:
Pull-down |
Range |
|
RGB |
no range / unmodified |
Collective RGB |
R |
000h - 0f0h |
Red channel |
G |
100h - 1f0h |
Green channel |
B |
200h - 2f0h |
Blue channel |
This is where things get weird. If you make any changes to RGB, then
you will end up with 5 channel chunks, which is mostly understandable.
It goes like this:
Pull-down |
Range |
|
RGB |
00h - 0f0h |
Collective RGB |
R |
100h - 1f0h |
Red channel |
G |
200h - 2f0h |
Green channel |
B |
300h - 3f0h |
Blue channel |
??? |
400h - 4f0h |
??? |
For some reason there is an extra channel chunk at the bottom. I don't
know what it's for; I don't know what it does. But I do know that it's
necessary for the AMP file to load. I suspect it has something to do with
Transfer Function files (ATF), which has something to do with print, but
I don't know.
I've tested the above anomaly rather extensively in RGB mode and that's
how it works for me. I did some testing with CMYK, but not a lot, and
the pattern seems consistent.
If it's a Greyscale AMP file, one channel, then there is only one channel
chunk. Cool beans for that.
Well, that's enough of that. Let's move on and revisit Kai's work with
the above information tossed in.
|