c# - What is the difference between Bits Per Sample, Samples Per Pixel and Bytes Per Pixel for a Bitmap Image? -



c# - What is the difference between Bits Per Sample, Samples Per Pixel and Bytes Per Pixel for a Bitmap Image? -

i creating vnc server using libvnc library. while initializing server need provide these arguments library.

bits per sample, samples per pixel , bytes per pixel.

i have bitmap saved mspaint 24bit bmp. value of bits per sample, samples per pixel , bytes per pixel image.

thanks in advance.

a 24-bit bmp file contains pixels each have 3 8-bit samples (red, green, , blue). image has

8 bits per sample 3 samples per pixel, , 3 bytes per pixel (a byte beingness 8 bits).

c# image image-processing bitmap metadata

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -