Hello
i am using itextsharp
and i am trying to get all the fonts of the given string in pdf file
is this possible
if it can be done in any language i please tell me
Thanks
have to make a hardware project using micro controller, memory, screens, etc.
is it possible to make an independent .dpf / documents reader, which is capable of running on battery power.?
please note dont want to use any technology which needs licensing all free wares readers etc and programing say assembly and c or flash or any.
please help, have submitted proposal of pdf reader project (independent hardware),
many say its impossible, wht should i do??
How can I create pdf documents with 2D barcodes (for example QR code http://en.wikipedia.org/wiki/QR_Code) from .NET application?
I will (probably) use iTextSharp for creating the documents. Which component should I use for drawing 2D barcodes?
Hi Mark,
I was looking for the way to use c# for images extraction from the pdf files and found your post regarding GhostScript.dll.
Could you please send me the c# wrapper you refering to?
Thanks,
Eugene
[email protected]
I want to generate PDF by passing HTML contents to a function. I have made use of ItextSharp for this but it does not perform well when it encounters Table and the layout just gets messy.
Is there any free library available ?
I am having a major issue with PIL (Python Image Library) in Django and have jumpped through a lot of hoops and have thus far not been able to figure out what the root of the issue is.
The problem essentially breaks down to not being able to upload JPEG images through the ImageField in the Django admin. But the issue is not as simple as installing libjpeg.
First, I installed PIL (through Buildout) and realized once it was installed that I had not installed libjpeg because JPEG support was not available.
Having not setup the server myself, I just assumed that it was not installed and I compiled libjpeg 8 from the source. This ended up in my /usr/local/lib/ directory. I cleared out my Buildout files and rebuilt everything. This time when PIL compiled I had JPEG support. But I went to the Django Admin and tried to upload a JPEG though an ImageField with no luck. I got the "Upload a valid image. The file you uploaded was either not an image or a corrupted image" error. Just as a test I opened up a the Djano shell and ran the following:
> import Image
> i = Image.open( "/absolute_path/file.jpg" )
> print i
<JpegImagePlugin.JpegImageFile image mode=RGB size=940x375 at 0x7F908C529BD8>
This runs with no errors and shows that PIL is able to open JPEG's.
After doing some reading, I come across this thread:
Is it possible to control which libraries apache uses?
Looks like PHP also uses libjpeg and is loading before Django, and therefor loading libjpeg 6.2 before. This is show when using lsof:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
apache2 2561 www-data mem REG 202,1 146032 639276 /usr/lib/libjpeg.so.62.0.0
So my thought is that I should be using libjpeg 6.2. So I removed libjpeg located in my /usr/local/lib directory. After rereading the PIL installation instructions, I realized that I might not have the dev/header files for libjpeg that PIL needs. So I also uninstalled libjpeg using the aptitude uninstaller (sudo aptitude remove libjpeg62). Then to ensure that I got the header files that PIL needed I installed libjpeg using aptitude: (sudo aptget install libjpeg62-dev).
From here I cleaned out my Buildout directory, and reran Buildout, which in turn reinstalled PIL. Once again, I have JPEG support, now using the libjpeg62.
So I go to test in the Django Admin. Still no JPEG support. So I wanted to test JPEG support in general and see if the exception was not handled, what kind of error it would throw. So in my homepage view I added the following code to open a JPEG image:
import Image
i = Image.open( "/absolute_path/file.jpg" )
v = i.verify()
Then I pass i to the HTML view just to easily see the output. I deploy these changes to the server and restart. I am surprised not to see an error and get the following output:
{{ i }} - <JpegImagePlugin.JpegImageFile image mode=RGB size=940x375 at 0x7F908C529BD8>
{{ v }} - None
So at this point I am really confused:
Why can I successfully open a JPEG while the admin cannot?
Am I missing something, is this not an issue with libjpeg?
If not an issue with libjpeg, why can I upload a PNG with no issues?
Any help would be much appreciated, I have been on this for 2 days debugging with no luck.
Setup:
1. Rackspace Cloud Server
2. Ubuntu 10.04
3. Django 1.2.3 (Installed though Buildout)
4. PIL 1.1.7 (Installed though Buildout)
5. libjpeg 6.2 (installed through aptitude (sudo aptget install libjpeg62-dev)
I got very frustrated when I realized that android is not able to display pdfs (in a webview or whatever) out-of-the-box.
So my question, are there any (os) jars or classes to display a pdf document within an app?
Thx in advance,
alex
hi
i want to create simple pdf reader application for ipad.
but did not find the proper documentation or sample code. please guide me from where i should start.
Thanks
Miraaj
We're trying to take a PDF file created in a web application and dynamically insert it into an AFP datastream on an IBM iSeries. Does anyone know if this is possible?
What's the best way of converting PDF docs to Microsoft Word format in PHP? This can be either as a PHP script or calling a (Linux) executable (with proc_open()). It just needs to be relatively fast and produce quality Word documents (in 97/2000/2003 format).
Commercial software is OK.
I tried to use the org.apache.fop.pdf package but not success.
Appreciated if someone can give some working examples to:
Create PDFDocument
Add PDFPage to PDFDocument
Add some text to PDFPage
Hello,
Programaticly, I need to include a google Maps map to automaticly generated pdf files. For this, I need to convert the map into some image format (jpg, png etc). How can it be done ?
I am using Python and Django if build in google maps library is not sufficient.
Thanks
I am using a webBrowser control to open PDF document in winforms, it works fine but when closing the application I get sometimes an error : "The Instruction at "0x2d864aa2" referenced memory at "0x00000008". The memory could not be "read".
Is there a solution for this problem?
Regards.
Hi, I'd like to know how to convert a file into PDF when I'm programming in VB. Do you have the script or if there is a pre-defined function, what is it's name?
Thanks
I have a digital certificate that identifies an user. I need to use it to Digitally sign pdf files.
Does anyone have an example that does not uses a third party component? I need to get this done but it would be nice to fully understand how things are done.
C# Examples please :)
I'm looking for .NET GUI component (different than PDFsharp) allowing preview PDF 1-page document.
Basically I need something similar to PictureBox where I can load bitmaps and show it.
It would be great if that component allows zooming and moving picture inside.
Freeware solutions preferred :)
Hi Do anyone know Good and CHEAPER tool we can use to create layered PDF in LAMP?
i came to know about PDFLib+PDI8 but thats €1590... but i am looking for cheaper option.. but must be same level to that PDFLib+pdi8.
Thanks in advance
Pravin P
I want create a button option that takes the entire datalist and converts it to a pdf file. As anyone done this in asp.net ? Please can you show an example or direct me in the right way, thanks. God Speed
Can anybody point me towards a PHP library or script that would allow me to split a pdf consisting of multiple pages into separate files, each containing 1 page. The PDFLib documentation doesn't appear to allow this and Google hasn't been particularly helpful.
I could possibly also use Perl, but it would be very inconvenient to do so.
I have a script that lets the user upload text files (PDF or doc) to the server, then the plan is to convert them to raw text. But until the file is converted, it's in its raw format, which makes me worried about viruses and all kinds of nasty things.
Any ideas what I need to do to minimize the risk of these unknown files. How to check if it's clean, or if it's even the format it claims to be and that it does not crash the server.
Hello ! I'd like to create/modify the title of a pdf document using pypdf. It seems that the title is readonly. Is there a way to access this metadata r/w?
If answer positive, a piece of code would be appreciated.
Thanks