Results 1 to 1 of 1

Thread: Qt PDF image handler

  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Qt PDF image handler

    I've implemented an image handler for PDF files that uses poppler library for accessing PDFs. The plugin allows you to read PDF files as images with a adjustable resolution (through quality and scaledSize functionality of the handler interfacce). The plugin doesn't allow to write a PDF file, it only reads them.

    To install, simply download and unpack the archive, run qmake, make and make install (the latter may require superuser privileges). You may need to adjust paths to poppler files in the .pro file if you have them installed in some unusual place.

    Notes:
    • If you want to build the plugin as a static plugin, you need to alter the .pro file.
    • To reduce the size of the library on Linux, run strip --strip-unneeded on the library file.
    • The plugin depends on poppler. You need to have its development files installed on the build machine and you need to deploy poppler libs with the plugin when installing on a target machine.
    • Make sure you don't violate poppler's licence when using the plugin.
    Attached Files Attached Files
    Last edited by wysota; 5th April 2009 at 10:19. Reason: Updated attachment
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. can Qlabel display a series of image one by one ?
    By jirach_gag in forum Qt Tools
    Replies: 3
    Last Post: 11th August 2008, 15:36
  2. Finding marks on scanned image for alignment
    By caduel in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2007, 02:10
  3. Help needed handling image data
    By toratora in forum General Programming
    Replies: 2
    Last Post: 11th May 2007, 09:24
  4. How and when to repaint a widget ?
    By yellowmat in forum Newbie
    Replies: 7
    Last Post: 3rd April 2006, 16:36
  5. Question about updating an image on screen
    By SkripT in forum Qt Programming
    Replies: 1
    Last Post: 24th February 2006, 19:01

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.