Comments on: Displaying a Scaled Image with Java Swing http://www.movingtofreedom.org/2007/11/11/displaying-a-scaled-image-in-java/ free software, free culture, free association Sun, 27 Jul 2008 01:38:33 +0000 http://wordpress.org/?v=2.0.11 by: Scott Carpenter http://www.movingtofreedom.org/2007/11/11/displaying-a-scaled-image-in-java/#comment-3357 Thu, 15 Nov 2007 22:24:17 +0000 http://www.movingtofreedom.org/2007/11/11/displaying-a-scaled-image-in-java/#comment-3357 Hi, Sumit. I do often feel thankful when I start learning something and find references to older ways. The challenge is to find the page that says, "Don't use X anymore. Y is much better," before finding the page explaining X to you. For images, that would be the MediaSomethingOrOther method, I think. Thanks for the pointer to your project -- looks like you had the same idea. I'd probably be able to cannibalize some of your code, but I don't see any kind of license information with it. Would you consider releasing it under GPL v3? Hi, Sumit. I do often feel thankful when I start learning something and find references to older ways. The challenge is to find the page that says, “Don’t use X anymore. Y is much better,” before finding the page explaining X to you. For images, that would be the MediaSomethingOrOther method, I think.

Thanks for the pointer to your project — looks like you had the same idea. I’d probably be able to cannibalize some of your code, but I don’t see any kind of license information with it. Would you consider releasing it under GPL v3?

]]>
by: Sumit http://www.movingtofreedom.org/2007/11/11/displaying-a-scaled-image-in-java/#comment-3356 Thu, 15 Nov 2007 21:56:16 +0000 http://www.movingtofreedom.org/2007/11/11/displaying-a-scaled-image-in-java/#comment-3356 Be thankful for the javax imageio libraries. Back when I first started loading JPEGs with the old awt image loaders, they were horribly slow. It could take 10 to 15 seconds to load an average quality JPEG. BufferedImages help too and they're really not too complicated. I've got examples in my Isszy application at <a href="http://penguindreams.org/page/see/Isszy" rel="nofollow">http://penguindreams.org/page/see/Isszy</a> I apologize if the code looks horrid. It was an early project. :) Be thankful for the javax imageio libraries. Back when I first started loading JPEGs with the old awt image loaders, they were horribly slow. It could take 10 to 15 seconds to load an average quality JPEG. BufferedImages help too and they’re really not too complicated. I’ve got examples in my Isszy application at http://penguindreams.org/page/see/Isszy

I apologize if the code looks horrid. It was an early project. :)

]]>