Results 1 to 6 of 6

Thread: Any API converting different file format to POSTSCRIPT file format?

  1. #1
    Join Date
    May 2011
    Posts
    19
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Any API converting different file format to POSTSCRIPT file format?

    Hi All,
    Hey guys I am in search for any api for converting various file formats into Postscript..
    Is there any way?
    Thank you very much for inversting your valuable time.

    Regards,
    Sumit

  2. #2
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: Any API converting different file format to POSTSCRIPT file format?

    The way I see it, it would be a very serious API and way outside the scope of Qt.

  3. The following user says thank you to mvuori for this useful post:

    surwassu (1st June 2011)

  4. #3
    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 Re: Any API converting different file format to POSTSCRIPT file format?

    What kind of formats? Basically Ghostscript handles a number of formats or you can use libmagick from ImageMagick but that will probably give you just a bitmap embedded into a postscript container.
    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.


  5. The following user says thank you to wysota for this useful post:

    surwassu (1st June 2011)

  6. #4
    Join Date
    May 2011
    Posts
    19
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Smile Re: Any API converting different file format to POSTSCRIPT file format?

    Quote Originally Posted by wysota View Post
    What kind of formats? Basically Ghostscript handles a number of formats or you can use libmagick from ImageMagick but that will probably give you just a bitmap embedded into a postscript container.
    Hi,
    Thanx for reply..
    I want to convert pdf to postscript file in QT only....
    What do you think about setouputFormat() function? will it print in PS format? if yes then I think that means ,it used for conversion into PS format...Is it so?

    Is there Any other way in Qt?

    Regards,
    Sumit


    Added after 13 minutes:


    Quote Originally Posted by wysota View Post
    What kind of formats? Basically Ghostscript handles a number of formats or you can use libmagick from ImageMagick but that will probably give you just a bitmap embedded into a postscript container.
    Hi,

    Is there any way to use Ghostscript in Qt.?

    Regards,
    Sumit
    Last edited by surwassu; 1st June 2011 at 07:31.

  7. #5
    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 Re: Any API converting different file format to POSTSCRIPT file format?

    Quote Originally Posted by surwassu View Post
    I want to convert pdf to postscript file in QT only....
    It's easiest to use an external tool such as pdf2ps.
    What do you think about setouputFormat() function? will it print in PS format?
    It will but how will you read a pdf file first? You could do that using poppler but that will probably just give you a bitmap.

    Is there any way to use Ghostscript in Qt.?
    Sure, use QProcess.
    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.


  8. #6
    Join Date
    May 2011
    Posts
    19
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Any API converting different file format to POSTSCRIPT file format?

    Quote Originally Posted by wysota View Post
    It's easiest to use an external tool such as pdf2ps.

    It will but how will you read a pdf file first? You could do that using poppler but that will probably just give you a bitmap.


    Sure, use QProcess.
    hi ,
    Thanks for reply
    I will try using that......
    Regards,
    Sumit

Similar Threads

  1. Converting __DATE__ to ISO format
    By BobTheProg in forum Qt Programming
    Replies: 9
    Last Post: 9th December 2015, 14:30
  2. Replies: 0
    Last Post: 21st July 2010, 11:32
  3. read the file which has the format of odp!
    By sunnysun520 in forum Qt Programming
    Replies: 11
    Last Post: 14th May 2009, 16:14
  4. File format not recognized -- bass.dll
    By youkai in forum Qt Programming
    Replies: 1
    Last Post: 26th April 2009, 13:26
  5. QImage, get file format
    By greenvirag in forum Qt Programming
    Replies: 6
    Last Post: 29th December 2008, 14:13

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.