Writes the specified image to the specified output stream.
@param img the image to write
@param ostream the output stream where to write the image
@param IOException if an IO error occured
Writes the specified image as a jpeg to the specified ouput stream.
@param img the image to write
@param ostream the output stream where to write the image
Writes the specified image as a png to the specified ouput stream.
@param img the image to write
@param ostream the output stream where to write the image
Writes the specified image to the specified output.
@param img the image to write
@param output the output where to store the image
@param TranscoderException if an error occured while storing the image
Writes the specified image to the specified output.
@param img the image to write
@param output the output where to store the image
@param TranscoderException if an error occured while storing the image
Writes the specified image to the specified output.
@param img the image to write
@param output the output where to store the image
@param TranscoderException if an error occured while storing the image
Writes the specified image to the specified output.
@param img the image to write
@param output the output where to store the image
@param TranscoderException if an error occured while storing the image
Writes the specified image to the specified output.
@param img the image to write
@param output the output where to store the image
@throws TranscoderException if an error occured while storing the image
Writes the specified image to the specified output.
@param img the image to write
@param output the output where to store the image
@throws TranscoderException if an error occured while storing the image
Writes the specified image to the specified output.
@param img the image to write
@param output the output where to store the image
@throws TranscoderException if an error occured while storing the image
Writes the specified image to the specified output.
@param img the image to write
@param output the output where to store the image
@throws TranscoderException if an error occured while storing the image
Converts a given page range of a PDF document to bitmap images.
@param document the PDF document
@param imageType the target format (ex. "png")
@param password the password (needed if the PDF is encrypted)
@param startPage the start page (1 is the first page)
@param endPage the end page (set to Integer.MAX_VALUE for all pages)
@param outputPrefix used to construct the filename for the individual images
@return true if the images were produced, false if there was an error
@throws IOException if an I/O error occurs
Encodes an image and writes it to an OutputStream.
@param image the image to be encoded
@param out the OutputStream to write to
@throws IOException In case of an /IO problem
Encodes an image and writes it to the image file.
@param image the image to be encoded
@param params a parameters object to customize the encoding.
@throws IOException In case of an /IO problem
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.