OOP-ResearchMake It Simpler by Object Oriented Programming

OOP JpegScaler API : Java API for scaling JPEG image by Java Advanced Imaging API (JAI)

Java API for scaling JPEG image by Java Advanced Imaging API (JAI). The width/hight of the JPEG image will be reduced to fit within the specified rectangle. The ratio of width/height of the original JPEG image will be left unchanged. This Java API is useful to show the large JPEG image on the small screen of the WAP phone. For example, your Servlet can send the binary contents of the scaled JPEG image to the WAP device.

Related Pages:


About this distribution

In this distribution, you will find the following files and directories:


README.html This file.
LICENSE The license agreement of this product. Please read this file before using this product.
apiDoc The directory for the API documentation (Java Doc). This Java Doc describes the details about the classes and their methods of this API. Please read it while you develop your web application using this API.
jpegscaler_1_2.jar The binary file of this API. Please copy it under WEB-INF/lib directory. Please also read Installation section below.
oop_util_3_x.jar Another binary file of this API, which includes the class files shared among the APIs by OOP-Research. Just please copy it into WEB-INF/lib directory. Please also read Installation section below.

Go Site Map

Installation

In addition to the distribution files of this API, please download:

The docBase directory of your web applications will include the following JAR files:

  • (docBase)/WEB-INF/lib/jpegscaler_1_2.jar
  • (docBase)/WEB-INF/lib/oop_util_3_x.jar
  • (docBase)/WEB-INF/lib/jai_core.jar
  • (docBase)/WEB-INF/lib/jai_codec.jar
  • (docBase)/WEB-INF/lib/(mlibwrapper_jai.jar)

The last JAR file above is required if you use the native interface of JAI.
Be sure to give the Read permission for these files.

NOTE for oop_util_3_x.jar:
If you have the older version oop_util_3_x.jar (or oop_util_2_x.jar), please replace it with the newest one. In other words, please be sure to find only the latest version of oop_util_3_x.jar under WEB-INF/lib directory.

NOTE for JBuilder:
Please add all the jar files above to Required Libraries of your project.

Go Site Map

Download

This API is now a part of Bento framework. There are the better documentations and source code examples on the web site for Bento framework. There, you will also find the link to download the entire framework or each API in it.

Caution!
All the APIs for Servlet/JSP introduced by this web site are now included in Bento framework:
  • Simpler than JSTL or Apache Struts
  • MVC framework by HTML
  • Input validation from CGI FORM
  • Easy user authentication
  • Easy localization (L10n)
To download the APIs and source code examples, please visit the web site of Bento framework.


JBuilder 2007


General Information

For Java Development

Java and all Java-based trademarks and logos are trademarks or registered of Sun Microsystems, Inc. in the United States and other countries.


ALL CONTENTS COPYRIGHT 1997-2007, OOP-Research Corporation. All rights reserved.