I have one swing application, where LayeredPane is embeded in the Frame.
I am having one pdf which has some form like controls.
I want pdf on the bottom layer and some swing control on top of them.
Currenly what i have done is i took a .gif image from pdf using some pdf to image converter.
But when i am resizing my application window (i am resizing image also), image gets blurred.
That's not the case with actual pdf. In adobe you can stretch the pdf to any level without blurring the pdf content(say i have some tax form).
I have heard of vector image as one solution to this problem.
Please can any one give some details on the same.
Or if you have any other apporach please tell me.
thanks in advance.
Joined: Mar 22, 2005
Yes, vector graphics can be scaled without loss of quality, but images can't, generally. And you won't get a vector graphic from a PDF, so that doesn't really help.
What is the background image going to accomplish anyway? Wouldn't you rather use a proper Swing GUI the layout of which can adapt during resizing?
BTW, I don't understand what the "(Experts only)" in the subject line is supposed to mean. I think it may have the effect of limiting the number of people reading your post, which is something you don't want to do.
Now getting back to my problem. We allready have that software running. And no time to get the steps back for new GUIs.
Can i have some software which will convert the pdf in to some QUALITY format image (say better than gif), so that it can be scaled without blurring effect. After all we just have simple form (say TaxForm like 1040) type documents on those pdfs and doesn't have any pictures.
Anything that can help me to improve the image quality on scaling.
Thanks in advance!
Joined: Apr 15, 2006
could be for this problem is, i can have a simple pdfviewer on the bottom layer of layered pane.
I tried adobe acrobat viewer(with frame), but it has sevrel problem and the major one is it's not working with layered pane. Another problem is its been developed in AWT, so i am facing the problem of light weight - heavy weight.