<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3335615730905911804.post7911593904500637877..comments</id><updated>2010-02-03T05:31:46.060-06:00</updated><title type='text'>Comments on Code Beach: Convert a Color Image to a Gray Scale Image in Jav...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.codebeach.com/feeds/7911593904500637877/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default'/><link rel='alternate' type='text/html' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html'/><author><name>Gizmo</name><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3335615730905911804.post-2002447979379409093</id><published>2010-02-03T05:31:46.060-06:00</published><updated>2010-02-03T05:31:46.060-06:00</updated><title type='text'>Thanks for sharing!</title><content type='html'>Thanks for sharing!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/2002447979379409093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/2002447979379409093'/><link rel='alternate' type='text/html' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html?showComment=1265196706060#c2002447979379409093' title=''/><author><name>Miraj</name><uri>http://www.blogger.com/profile/18427694536471958267</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html' ref='tag:blogger.com,1999:blog-3335615730905911804.post-7911593904500637877' source='http://www.blogger.com/feeds/3335615730905911804/posts/default/7911593904500637877' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3335615730905911804.post-6919608588865869526</id><published>2009-10-16T11:32:33.411-05:00</published><updated>2009-10-16T11:32:33.411-05:00</updated><title type='text'>Very helpful example, but I get different performa...</title><content type='html'>Very helpful example, but I get different performance results with method 1 and 2. Method 1 took me 47 ms and method 2 took 78 ms to transform one 580x580 color image to grayscale.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/6919608588865869526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/6919608588865869526'/><link rel='alternate' type='text/html' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html?showComment=1255710753411#c6919608588865869526' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html' ref='tag:blogger.com,1999:blog-3335615730905911804.post-7911593904500637877' source='http://www.blogger.com/feeds/3335615730905911804/posts/default/7911593904500637877' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3335615730905911804.post-649170303790419361</id><published>2009-09-12T11:11:59.094-05:00</published><updated>2009-09-12T11:11:59.094-05:00</updated><title type='text'>I think you forgot to mention the memory overhead ...</title><content type='html'>I think you forgot to mention the memory overhead for transformation #2 and #3 (additional ImageBuffer in memory)...&lt;br /&gt;transformation #1 should be less memory consuming than the others.&lt;br /&gt;&lt;br /&gt;regards</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/649170303790419361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/649170303790419361'/><link rel='alternate' type='text/html' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html?showComment=1252771919094#c649170303790419361' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html' ref='tag:blogger.com,1999:blog-3335615730905911804.post-7911593904500637877' source='http://www.blogger.com/feeds/3335615730905911804/posts/default/7911593904500637877' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3335615730905911804.post-3956820486455818868</id><published>2009-04-24T01:07:00.000-05:00</published><updated>2009-04-24T01:07:00.000-05:00</updated><title type='text'>Extremely informative article, well researched and...</title><content type='html'>Extremely informative article, well researched and clearly presented. I am thankful Gizmo took the time to share this informative post.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/3956820486455818868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/3956820486455818868'/><link rel='alternate' type='text/html' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html?showComment=1240553220000#c3956820486455818868' title=''/><author><name>photo restoration</name><uri>http://www.sblgraphics.com/restoration-retouching_service.aspx</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html' ref='tag:blogger.com,1999:blog-3335615730905911804.post-7911593904500637877' source='http://www.blogger.com/feeds/3335615730905911804/posts/default/7911593904500637877' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3335615730905911804.post-1045480426067178521</id><published>2009-03-05T08:41:00.000-06:00</published><updated>2009-03-05T08:41:00.000-06:00</updated><title type='text'>Hey dude.. the code was inofrmative.. But cn u gim...</title><content type='html'>Hey dude.. the code was inofrmative.. But cn u gimme where to implement it??? V r working on a title hw to convert JPEG images to PGM....&lt;BR/&gt;&lt;BR/&gt;//import java.io.*;&lt;BR/&gt;import javax.media.jai.*;&lt;BR/&gt;import javax.imageio.ImageIO;&lt;BR/&gt; &lt;BR/&gt;public class ConvertSpeed&lt;BR/&gt;{&lt;BR/&gt;private static String inputFileName = "C:\\Program Files\\balloon.jpg"; &lt;BR/&gt;private static String outputFileName = "C:\\Program Files\\balloon.pgm";&lt;BR/&gt; &lt;BR/&gt;public static void main(String args[])&lt;BR/&gt;{&lt;BR/&gt;System.out.println("Start....");&lt;BR/&gt;File inputFile = new File(inputFileName);&lt;BR/&gt; &lt;BR/&gt;RenderedOp src = JAI.create("fileload", inputFile.getAbsolutePath());&lt;BR/&gt;FileOutputStream stream = null;&lt;BR/&gt;try&lt;BR/&gt;{&lt;BR/&gt;stream = new FileOutputStream(outputFileName);&lt;BR/&gt;ImageIO.write(src, "pgm", stream);&lt;BR/&gt;}&lt;BR/&gt;catch(IOException ioe)&lt;BR/&gt;{&lt;BR/&gt;System.out.println(ioe);&lt;BR/&gt;}&lt;BR/&gt; &lt;BR/&gt;System.out.println("Done.");&lt;BR/&gt;}&lt;BR/&gt;}//&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;This s our code.. it compiles well but shows me error at 15th line whil running!!!&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;Cn u ping me back at kehakartik@gmail.com&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;Thnks!!!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/1045480426067178521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/1045480426067178521'/><link rel='alternate' type='text/html' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html?showComment=1236264060000#c1045480426067178521' title=''/><author><name>You Know Phoo</name><uri>http://www.blogger.com/profile/15033830437374094581</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html' ref='tag:blogger.com,1999:blog-3335615730905911804.post-7911593904500637877' source='http://www.blogger.com/feeds/3335615730905911804/posts/default/7911593904500637877' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3335615730905911804.post-5797625007115120194</id><published>2009-03-02T10:38:00.000-06:00</published><updated>2009-03-02T10:38:00.000-06:00</updated><title type='text'>how to implement the code?..can u give me full cod...</title><content type='html'>how to implement the code?..can u give me full code example of it.. i really blur about this...i take a snapshot using &lt;BR/&gt;&lt;BR/&gt;byte[] image = videoControl.getSnapshot("encoding=jpeg")&lt;BR/&gt;&lt;BR/&gt;i hope u can help me..thanks..</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/5797625007115120194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/5797625007115120194'/><link rel='alternate' type='text/html' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html?showComment=1236011880000#c5797625007115120194' title=''/><author><name>Mohd Rafiulddin Marzuki</name><uri>http://www.blogger.com/profile/15495639326779294947</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html' ref='tag:blogger.com,1999:blog-3335615730905911804.post-7911593904500637877' source='http://www.blogger.com/feeds/3335615730905911804/posts/default/7911593904500637877' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3335615730905911804.post-6612236493242798284</id><published>2008-12-29T17:03:00.000-06:00</published><updated>2008-12-29T17:03:00.000-06:00</updated><title type='text'>Nice article, just what I wanted.You didn't includ...</title><content type='html'>Nice article, just what I wanted.&lt;BR/&gt;&lt;BR/&gt;You didn't include all the implementation notes and stuff. simple, yet very effective.&lt;BR/&gt;&lt;BR/&gt;Thank you again.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/6612236493242798284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3335615730905911804/7911593904500637877/comments/default/6612236493242798284'/><link rel='alternate' type='text/html' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html?showComment=1230591780000#c6612236493242798284' title=''/><author><name>bitkidoku</name><uri>http://www.blogger.com/profile/09141709808294868945</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codebeach.com/2008/03/convert-color-image-to-gray-scale-image.html' ref='tag:blogger.com,1999:blog-3335615730905911804.post-7911593904500637877' source='http://www.blogger.com/feeds/3335615730905911804/posts/default/7911593904500637877' type='text/html'/></entry></feed>