viernes, septiembre 22, 2006

Thumbnail.java - Load an image, scale it to thumbnail size and save it as JPEG

Thumbnail.java - Load an image, scale it to thumbnail size and save it as JPEG: "The third and fourth program argument contain the maximum size of the thumbnail to be created.
The actual size of the thumbnail will be computed from that maximum size and the actual size of the image (all sizes
are given as pixels).
The code that does this is not really very readable, and also not essential to loading and saving image files.
But it is necessary to create a thumbnail that is scaled correctly."

No hay comentarios: