An image of each type is opened in Scilab to get their pixel size and bit count - one for binary, one for grayscale, one for true color, and one for indexed image. Since most of the internet files are saved as JPEG. They were converted to other image types using Paint.
A. Binary
Original photo from

File size : 2922 bytes
Format: BMP
Size: 148 x 143
Depth: 8
Number of Colors: 2
ResolutionUnit: centimeter
XResolution: 37.800000
YResolution: 37.800000
B. Grayscale
Original photo from purplezoe.blogspot.com

FileSize: 18254
Format: BMP
Width: 150
Height: 113

Depth: 8
StorageType: indexed
NumberOfColors: 256
ResolutionUnit: centimeter
XResolution: 37.800000
YResolution: 37.800000
C. True Color
photo from twisted physics.typepad.com
FileName: C:\Documents and Settings\AP186user20\Desktop\ap186_june24\truecolor.jpg
FileSize: 2202

Format: JPEG
Width: 135
Height: 90
Depth: 8
StorageType: truecolor
NumberOfColors: 0
ResolutionUnit: centimeter
XResolution: 72.000000
YResolution: 72.000000
D. Indexed
photo from chamorrobible.org
FileName: C:\Documents and Settings\AP186user20\Desktop\ap186_june24\indexed.png
FileSize: 9610
Format: PNG
Width: 150
Height: 107
Depth: 8
StorageType: truecolor
NumberOfColors: 0
ResolutionUnit: centimeter
XResolution: 72.000000
YResolution: 72.000000
Credits:
Beth Prieto for helping me with scilab
No comments:
Post a Comment