Array of eight bytes , i want to convert this first four bytes into 32-bit fixed point
number containing the horizontal resolution of image in pixels per inch , and the second four
bytes into 32-bit fixed point number containing the vertical resolution of image in pixels
per inch,how can i do that??
byte []a=new byte[8] {0,72,0,0,0,72,0,0} // array of bytesit must find resolution of image in pixel by using this four bytes {0,72,0,0},use c#
language.
zozo ahmedPosted Oct 26, 2013, 1:09 PM
VulpesPosted Oct 26, 2013, 12:55 PM
Are you sure that the units are pixels per inch?
zozo ahmedPosted Oct 26, 2013, 10:55 AM
VulpesPosted Oct 26, 2013, 9:41 AM
but the output seems far too high:
Resolution: 18432 x 18432