PdftoImage-Convert PDF to Image by using PdfRenderer library

Bases on PDF Renderer library, we can easily develop many useful tools. Here is a example I wrote today, the aim is converting every pages of a pdf to images (png, if you need other format, you can use JAI).

import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;

import javax.imageio.ImageIO;

import com.sun.pdfview.PDFFile;
import com.sun.pdfview.PDFPage;

public class Pdf2Image [...]

Aspspider Reopen Free Asp.net 2.0 Hosting registration

I just found aspspider reopened the free asp.net 2.0 hosting registration, it still supports Ms Sql Server Express 2005, but limits 10M space and automatically insert Kontera ad script.
btw, I installed ASProxy(a web proxy developed in ASP.NET 2.0) on my new registered one. And my another one has some PDF creation and manipulation demos [...]

Sun Releases 100% Java PDF Renderer and Viewer

What is it?
The PDF Renderer is just what the name implies: an open source, all Java library which renders PDF documents to the screen using Java2D. Typically this means drawing into a Swing panel, but it could also draw to other Graphics2D implementations. We hope you will come up with cool things to do with [...]

Next Page »