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??
C#
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.

VulpesRank #55 · 29.2K reputationPosted Oct 26, 2013, 5:41 AM EDT
but the output seems far too high:
Resolution: 18432 x 18432
zozo ahmed18 reputationPosted Oct 26, 2013, 6:55 AM EDT
VulpesRank #55 · 29.2K reputationPosted Oct 26, 2013, 8:55 AM EDT
Are you sure that the units are pixels per inch?
zozo ahmed18 reputationPosted Oct 26, 2013, 9:09 AM EDT