{"id":152,"date":"2007-05-12T16:17:24","date_gmt":"2007-05-12T14:17:24","guid":{"rendered":" http:\/\/www.nsonic.de\/blog\/2007\/05\/bitmaps-how-to-get-rgb-values-very-fast\/"},"modified":"2007-05-12T16:17:26","modified_gmt":"2007-05-12T14:17:26","slug":"bitmaps-how-to-get-rgb-values-very-fast","status":"publish","type":"post","link":"https:\/\/www.nsonic.de\/blog\/2007\/05\/bitmaps-how-to-get-rgb-values-very-fast\/","title":{"rendered":"Bitmaps: How to get RGB values very fast"},"content":{"rendered":"<p>Thanks, that&#8217;s what I was looking for!<br \/>\nPaul Nicholls schrieb:<br \/>\n> Hi Philipp, you could try this:<br \/>\n><br \/>\n> r := (value shr 10) and 31;<br \/>\n> g := (value shr 5) and 31;<br \/>\n> b := value and 31;<br \/>\n><br \/>\n> where value is the word from ScanLine for the pixel colour<br \/>\n><br \/>\n> &#8211;> Paul Nicholls,<br \/>\n> Live long and optimise.<br \/>\n> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n> Web Page : www.southcom.com.au\/~phantom<br \/>\n> E-Mail : phantom@southcom.com.au<\/p>\n<p>[tags]Delphi, Graphic[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thanks, that&#8217;s what I was looking for! Paul Nicholls schrieb: > Hi Philipp, you could try this: > > r := (value shr&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[11],"tags":[75,101],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p71Tml-2s","_links":{"self":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/152"}],"collection":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/comments?post=152"}],"version-history":[{"count":0,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/152\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/media?parent=152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/categories?post=152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/tags?post=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}