<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>web development helpdesk &#187; image</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/image/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Mon, 06 Sep 2010 08:12:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Changing the ColorModel of a BufferedImage</title>
		<link>http://helpdesk.objects.com.au/java/changing-the-colormodel-of-a-bufferedimage?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=changing-the-colormodel-of-a-bufferedimage</link>
		<comments>http://helpdesk.objects.com.au/java/changing-the-colormodel-of-a-bufferedimage#comments</comments>
		<pubDate>Sat, 06 Mar 2010 02:51:31 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[BufferedImage]]></category>
		<category><![CDATA[ColorModel]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[IndexColorModel]]></category>
		<category><![CDATA[java2d]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1422</guid>
		<description><![CDATA[Often when doing image processing we need to change the color of the image pixels. This ultimately involves iterating through all the pixels of an image changing values as required. This can be a slow process, especially for large images. When you want to change all pixels of one colour to another then you can [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/changing-the-colormodel-of-a-bufferedimage/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to embed images in HTML mail using JavaMail</title>
		<link>http://helpdesk.objects.com.au/java/how-to-embed-images-in-html-mail-using-javamail?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-embed-images-in-html-mail-using-javamail</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-embed-images-in-html-mail-using-javamail#comments</comments>
		<pubDate>Wed, 12 Aug 2009 03:49:37 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[javamail]]></category>
		<category><![CDATA[multipart]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1137</guid>
		<description><![CDATA[Multipart emails can be used to send html content with JavaMail. If you want to use images in the html content you can either specify the url of the image on an external server, or you can embed the image in the email itself. To embed an image in your mail you need to assign [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-embed-images-in-html-mail-using-javamail/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert an Image to a BufferedImage?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-convert-an-image-to-a-bufferedimage?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-convert-an-image-to-a-bufferedimage</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-convert-an-image-to-a-bufferedimage#comments</comments>
		<pubDate>Sat, 23 May 2009 07:51:50 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[BufferedImage]]></category>
		<category><![CDATA[ColorModel]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[image]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=997</guid>
		<description><![CDATA[// Load the image image = new ImageIcon(image).getImage(); // Determine transparency for BufferedImage // http://helpdesk.objects.com.au/java/how-to-determine-if-image-supports-alpha boolean hasAlpha = hasAlpha(image); int transparency = hasAlpha ? Transparency.BITMASK : Transparency.OPAQUE; // Create the buffered image GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice gs = ge.getDefaultScreenDevice(); GraphicsConfiguration gc = gs.getDefaultConfiguration(); BufferedImage bufferedImage = gc.createCompatibleImage(image.getWidth(null), image.getHeight(null), transparency); if (bufferedImage == null) { [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-convert-an-image-to-a-bufferedimage/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to determine if Image supports alpha?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-determine-if-image-supports-alpha?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-determine-if-image-supports-alpha</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-determine-if-image-supports-alpha#comments</comments>
		<pubDate>Sat, 23 May 2009 07:41:52 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[ColorModel]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[PixelGrabber]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=993</guid>
		<description><![CDATA[The PixelGrabber can be used to get a ColorModel instance that has a method to tell if alpha is supported. You just need to load a single pixel from the image to get the ColorModel. PixelGrabber pg = new PixelGrabber(image, 0, 0, 1, 1, false); pg.grabPixels(); boolean hasAlpha = pg.getColorModel().hasAlpha(); Subscribe to the comments for [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-determine-if-image-supports-alpha/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How can I return an image using a servlet?</title>
		<link>http://helpdesk.objects.com.au/java/how-can-i-return-an-image-using-a-servlet?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-can-i-return-an-image-using-a-servlet</link>
		<comments>http://helpdesk.objects.com.au/java/how-can-i-return-an-image-using-a-servlet#comments</comments>
		<pubDate>Wed, 15 Apr 2009 05:04:54 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[application server]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[HttpServletResponse]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[servlet]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=894</guid>
		<description><![CDATA[Basically you stream the image to the http response stream. Easier to explain with code so here&#8217;s a simple example. import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.OutputStream; import javax.servlet.ServletContext; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class ImageServlet extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException { ServletContext application = getServletContext(); [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-can-i-return-an-image-using-a-servlet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I read an image from a byte array in Java?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-read-an-image-from-a-byte-array-in-java?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-do-i-read-an-image-from-a-byte-array-in-java</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-read-an-image-from-a-byte-array-in-java#comments</comments>
		<pubDate>Thu, 30 Oct 2008 00:11:40 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[BufferedImage]]></category>
		<category><![CDATA[ByteArrayInputStream]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[ImageIO]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=481</guid>
		<description><![CDATA[Create a ByteArrayInputStream from your byte array and then use ImageIO class to read image from that stream. InputStream in = new ByteArrayInputStream(bytearray); BufferedImage image = ImageIO.read(in); Subscribe to the comments for this post? Email this to a friend? Share this on del.icio.us Add this to Google Bookmarks Share this on LinkedIn Clip this to [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-read-an-image-from-a-byte-array-in-java/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How do I paint a tiled image, for example as a background of a panel?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-paint-a-tiled-image-for-example-as-a-background-of-a-panel?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-do-i-paint-a-tiled-image-for-example-as-a-background-of-a-panel</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-paint-a-tiled-image-for-example-as-a-background-of-a-panel#comments</comments>
		<pubDate>Mon, 13 Oct 2008 00:43:41 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[TexturePaint]]></category>
		<category><![CDATA[tiled]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=452</guid>
		<description><![CDATA[The TexturePaint class can be used to achieve that. public void paintComponent(Graphics g) { if(paint == null) { try { // Create TexturePaint instance the first time int height = image.getHeight(this); int width = image.getWidth(this); bi = (BufferedImage) createImage(width, height); Graphics2D biG2d = (Graphics2D) bi.getGraphics(); biG2d.drawImage(image, 0, 0, Color.black, this); paint = new TexturePaint(bi, new [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-paint-a-tiled-image-for-example-as-a-background-of-a-panel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I convert a Java Image to a png byte array?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-convert-a-java-image-to-a-png-byte-array?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-do-i-convert-a-java-image-to-a-png-byte-array</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-convert-a-java-image-to-a-png-byte-array#comments</comments>
		<pubDate>Mon, 29 Sep 2008 02:08:22 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[stream]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=282</guid>
		<description><![CDATA[The ImageIO class can be used to write an image as a PNG encoded stream.If you write that stream to a ByteArrayOutputStream then you will end up with a byte array that contains the PNG encoded image. ByteArrayOutputStream out = new ByteArrayOutputStream(); ImageIO.write(image, &#34;PNG&#34;, out); byte[] imageBytes = out.toByteArray(); Subscribe to the comments for this [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-convert-a-java-image-to-a-png-byte-array/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I convert a Java image to a jpeg encoded byte array?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-convert-a-java-image-to-a-jpeg-encoded-byte-array?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-do-i-convert-a-java-image-to-a-jpeg-encoded-byte-array</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-convert-a-java-image-to-a-jpeg-encoded-byte-array#comments</comments>
		<pubDate>Mon, 29 Sep 2008 00:19:59 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[jpeg]]></category>
		<category><![CDATA[stream]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=278</guid>
		<description><![CDATA[The ImageIO class can be used to write an image as a JPEG encoded stream.If you write that stream to a ByteArrayOutputStream then you will end up with a byte array that contains the JPEG encoded image. ByteArrayOutputStream out = new ByteArrayOutputStream(); ImageIO.write(image, &#34;JPEG&#34;, out); byte[] imageBytes = out.toByteArray(); Subscribe to the comments for this [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-convert-a-java-image-to-a-jpeg-encoded-byte-array/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I read an image from a URL?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-read-an-image-from-a-url?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-do-i-read-an-image-from-a-url</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-read-an-image-from-a-url#comments</comments>
		<pubDate>Tue, 23 Sep 2008 23:20:15 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=211</guid>
		<description><![CDATA[The ImageIO class provides a number of methods for reading images from different sources. URL imageUrl = new URL(&#34;http://www.objects.com.au/logo.jpg&#34;); BufferedImage image = ImageIO.read(imageUrl); Subscribe to the comments for this post? Email this to a friend? Share this on del.icio.us Add this to Google Bookmarks Share this on LinkedIn Clip this to Evernote Share this on [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-read-an-image-from-a-url/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
