This is kind of weird im trying to pull the number of layers from a .psd file.
I get to the section where it contains the information. Its a 2 byte section (short integer)
But it looks like this in hex
FF FD and some how its suppose to equal 2?
FF FC = 3
FF FB = 4
& so forth it seems backwards.
Now how can I convert that in php the hex to the decimal.
I get to the section where it contains the information. Its a 2 byte section (short integer)
But it looks like this in hex
FF FD and some how its suppose to equal 2?
FF FC = 3
FF FB = 4
& so forth it seems backwards.
Now how can I convert that in php the hex to the decimal.