Loading...
X

pngcp and pnginfo

system administration command


$pnginfo osauxiliaryvector.png
osauxiliaryvector.png...
Image Width: 1600 Image Length: 1200
Bitdepth (Bits/Sample): 8
Channels (Samples/Pixel): 4
Pixel depth (Pixel Depth): 32
Colour Type (Photometric Interpretation): RGB with alpha channel
Image filter: Single row per byte filter
Interlacing: No interlacing
Compression Scheme: Deflate method 8, 32k window
Resolution: 2835, 2835 (pixels per meter)
FillOrder: msb-to-lsb
Byte Order: Network (Big Endian)
Number of text strings: 1 of 9
Comment (xTXt deflate compressed): Created with GIMP

$

$pngcp -s 3 osauxiliaryvector.png osvnew.png
Expanding from 4 channels to 3 channels
Target byte depth is 1 bytes
$

$pnginfo osvnew.png
osvnew.png...
Image Width: 1600 Image Length: 1200
Bitdepth (Bits/Sample): 8
Channels (Samples/Pixel): 3
Pixel depth (Pixel Depth): 24
Colour Type (Photometric Interpretation): RGB
Image filter: Single row per byte filter
Interlacing: No interlacing
Compression Scheme: Deflate method 8, 32k window
Resolution: 0, 0 (unit unknown)
FillOrder: msb-to-lsb
Byte Order: Network (Big Endian)
Number of text strings: 0 of 0

$


notes

pngcp.
create a new PNG file, having changed some attributes

samples/pixels.
The number of components per pixel.
SamplesPerPixel is usually 1 for bilevel, grayscale, and palette-color
images. SamplesPerPixel is usually 3 for RGB images. If this value is
higher, ExtraSamples should give an indication of the meaning of the
additional channels.

source :

http://www.awaresystems.be/imaging/tiff/tifftags/samplesperpixel.html

code exposition


fceu/output/luaScripts/Multitrack2.lua
248: gui.line(x1,y1,x2,y2,color)
249:
250: else --(x1 ~= x2) and (y1 ~= y2)
251: gui.line(x1 ,y1 ,x2-1,y1 ,color) -- top
252: gui.line(x2 ,y1 ,x2 ,y2-1,color) -- right
253: gui.line(x1+1,y2 ,x2 ,y2 ,color) -- bottom
fceultra.svn.sourceforge.net/svnroot/fceultra - GPL - Lua

computer architecture and physics

Computer Architecture.
Pointer Register :
BP - Base Pointer . Used to pass data to and from the stack.
source :

http://www.xs4all.nl/~smit/asm01001.htm

Physics.
Light.
Electromagnetic radiation that has a wavelength in the range from about
4,000 (violet) to about 7,700 (red) angstroms and may be perceived by
the normal unaided human eye.

source :

http://www.answers.com/topic/light

Leave Your Observation

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2009,  2010,  2011,  2012,  2013,  2014     BeautifulWork Project    e-mail:  ahiliation@yahoo.co.in
BeautifulWork Project comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.