- Thumbnail.java - Load an image, scale it to thumbnail size and save it as JPEG
This programm loads an image via java.awt.Toolkit, scales it down to a user-defined resolution and saves it as a JPEG file. The first part, the loading of the original image, is done the same way as in Viewer. So if you don't know yet how loading images with Toolkit works you might want to study that program first. Different from Viewer, this program (Thumbnail) works on the command line. So you won't get any windows or other graphical user interface components. The only visual feedback is the word Done. after the program successfully terminated.
A small commented Java program that creates a JPEG thumbnail file.
image java save scale thumbnail
in Public bookmarks with graphic java sourcecode
- Top 119 Cheat Sheets » Web Developer Lists eConsultant
Ajax * What’s Ajax? Cheat Sheet * Prototype Cheat Sheet * Scriptaculous Combination Effects Cheat Sheet Apache * Apache Cheat Sheet * Apache 1.3 Quick Reference Card - PDF Java * Java 1.5 Cheat Sheet * Java Quick Reference - PDF JSP * JSP 2.0 XML Cheat Sheet MySQL * MySQL Cheat Sheet - PDF * MySQL Cheat Sheet - PNG * MySQL Cheat Sheet * SQL Cheatsheet * MySQL Quick Reference Card Oracle * Oracle PL/SQL Cheatsheet Ruby * Ruby on Rails Cheat Sheet - PNG * Ruby quick reference * Ruby Cheatsheet * Threadeds Ruby Cheat Sheet * Ruby on Rails - ActiveRecord Relationships Cheat Sheet * Ruby on Rails - Form Helpers Cheat Sheet * Ruby on Rails - What Goes Where? Cheat Sheet
in Public bookmarks with ajax apache asp css cvs html java javascritpt jsp k oracle perl php python tipsntricks xhtml
« Previous
java from all users