Reading Photoshop *.AMP curve settings file
Submitted by Jack Zagaja
Please insert load button in the Curves Dialog for reading Photoshop *.AMP curves setting file. The structure of *.AMP is very simple. It has 5 binary tables that have 256 entries that are 8-bit (byte). The first table 0000..00FFh is the RGB channel. The second table 0100..01FFh is the R channel. The third table 0200..02FFh is the G channel. The fourth table 0300..03FFh is the B channel. And, the fifth table 0400..04FFh is a "dummy" channel that has to be filled with codes running from 00h, 01h, 02h, ...FFh. Table position nn00h is the black end and table position nnFFh is the white end.