Re: wide histograms was: That old jpg v. RAW argument again...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I was trying to test this -- when I found that the Photoshop CS
color
> picker only has 8-bit *input*.  I can only enter values from 0-255
> into the R, G, and B boxes, even for an image in 16-bit mode.
>
> So I couldn't test whether it saved in a TIFF successfully or not,
> because I couldn't enter arbitrary colors in the first place.


Something I'm sure you can cope with David:

Programmatically create a binary file containing all levels (0 to
65535).
Use 2-byte integers per level.

You can do this from C, Fortran or, like I did, simply using VBA (free
with M$ Excel)
Name the file test2.raw

Open the file as raw, specify depth as 16-bits and channel count of 1
Make sure header count is 0

Then save the file as test2.raw.

Read the contents of the new file bag programmatically:
Voila: ... it has changed.


Results using PS 5

Source file: PC byte order
0100 0200 0300 0400 0500 0600 ... FAFF FBFF FCFF FDFF FEFF FFFF

Result file:
0200 0200 0400 0400 0600 0600 ... F9FF FBFF FBFF FDFF FDFF FFFF

Be interested if you reproduce this on a later version of PS ...

Bob


[Index of Archives] [Share Photos] [Epson Inkjet] [Scanner List] [Gimp Users] [Gimp for Windows]

  Powered by Linux