
{"id":2635,"date":"2010-08-23T19:02:39","date_gmt":"2010-08-23T13:32:39","guid":{"rendered":"http:\/\/www.jeffrin.in\/?p=2635"},"modified":"2010-08-23T19:02:39","modified_gmt":"2010-08-23T13:32:39","slug":"cairo-graphics-1-0-ii","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/08\/23\/cairo-graphics-1-0-ii\/","title":{"rendered":"pngcp and pnginfo"},"content":{"rendered":"<p><a href=\"https:\/\/beautifulworknew.wordpress.com\/wp-content\/uploads\/2021\/03\/39c22-pngcpandpnginfo.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/beautifulworknew.wordpress.com\/wp-content\/uploads\/2021\/03\/39c22-pngcpandpnginfo.png?w=300\" alt=\"\" title=\"pngcpandpnginfo\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-2658\" \/><\/a><\/p>\n<h4> system administration command <\/h4>\n<p><code><br \/>\n$pnginfo  osauxiliaryvector.png<br \/>\nosauxiliaryvector.png...<br \/>\n  Image Width: 1600 Image Length: 1200<br \/>\n  Bitdepth (Bits\/Sample): 8<br \/>\n  Channels (Samples\/Pixel): 4<br \/>\n  Pixel depth (Pixel Depth): 32<br \/>\n  Colour Type (Photometric Interpretation): RGB with alpha channel<br \/>\n  Image filter: Single row per byte filter<br \/>\n  Interlacing: No interlacing<br \/>\n  Compression Scheme: Deflate method 8, 32k window<br \/>\n  Resolution: 2835, 2835 (pixels per meter)<br \/>\n  FillOrder: msb-to-lsb<br \/>\n  Byte Order: Network (Big Endian)<br \/>\n  Number of text strings: 1 of 9<br \/>\n    Comment (xTXt deflate compressed): Created with GIMP<\/p>\n<p>$<\/p>\n<p>$pngcp  -s 3 osauxiliaryvector.png osvnew.png<br \/>\nExpanding from 4 channels to 3 channels<br \/>\nTarget byte depth is 1 bytes<br \/>\n$<\/p>\n<p>$pnginfo  osvnew.png<br \/>\nosvnew.png...<br \/>\n  Image Width: 1600 Image Length: 1200<br \/>\n  Bitdepth (Bits\/Sample): 8<br \/>\n  Channels (Samples\/Pixel): 3<br \/>\n  Pixel depth (Pixel Depth): 24<br \/>\n  Colour Type (Photometric Interpretation): RGB<br \/>\n  Image filter: Single row per byte filter<br \/>\n  Interlacing: No interlacing<br \/>\n  Compression Scheme: Deflate method 8, 32k window<br \/>\n  Resolution: 0, 0 (unit unknown)<br \/>\n  FillOrder: msb-to-lsb<br \/>\n  Byte Order: Network (Big Endian)<br \/>\n  Number of text strings: 0 of 0<\/p>\n<p>$<\/p>\n<p><\/code><br \/>\n<\/p>\n<h4> notes<\/h4>\n<p><\/p>\n<pre>\npngcp.\ncreate a new PNG file, having changed some attributes\n\nsamples\/pixels.\nThe number of components per pixel.\nSamplesPerPixel is usually 1 for bilevel, grayscale, and palette-color\nimages. SamplesPerPixel is usually 3 for RGB images. If this value is\nhigher, ExtraSamples should give an indication of the meaning of the\nadditional channels.\n\nsource :\nhttp:\/\/www.awaresystems.be\/imaging\/tiff\/tifftags\/samplesperpixel.html\n<\/pre>\n<p><\/p>\n<h4> code exposition <\/h4>\n<p>\n<code><br \/>\nfceu\/output\/luaScripts\/Multitrack2.lua<br \/>\n   248:         gui.line(x1,y1,x2,y2,color)<br \/>\n   249:<br \/>\n   250:     else --(x1 ~= x2) and (y1 ~= y2)<br \/>\n   251:         gui.line(x1  ,y1  ,x2-1,y1  ,color) -- top<br \/>\n   252:         gui.line(x2  ,y1  ,x2  ,y2-1,color) -- right<br \/>\n   253:         gui.line(x1+1,y2  ,x2  ,y2  ,color) -- bottom<br \/>\nfceultra.svn.sourceforge.net\/svnroot\/fceultra - GPL - Lua<br \/>\n<\/code><\/p>\n<p><\/p>\n<h4> computer architecture and physics<\/h4>\n<p><\/p>\n<pre>\nComputer Architecture.\nPointer Register :\nBP - Base Pointer . Used to pass data to and from the stack.\nsource :\nhttp:\/\/www.xs4all.nl\/~smit\/asm01001.htm\n\nPhysics.\nLight.\nElectromagnetic radiation that has a wavelength in the range from about\n4,000 (violet) to about 7,700 (red) angstroms and may be perceived by\nthe normal unaided human eye.\n\nsource :\nhttp:\/\/www.answers.com\/topic\/light\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>system administration command $pnginfo osauxiliaryvector.png osauxiliaryvector.png&#8230; 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: &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/08\/23\/cairo-graphics-1-0-ii\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;pngcp and pnginfo&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[395,1030,1062,1265,1372],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/2635"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=2635"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/2635\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=2635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=2635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=2635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}