flat assembler
Message board for the users of flat assembler.

Index > Windows > Pdf To Jpg/bmp

Author
Thread Post new topic Reply to topic
shakuni



Joined: 11 Oct 2007
Posts: 24
shakuni
I need to convert pdf to jpg and bmp for some purpose and I want to do it in assembly (or C/C++/ java). Obviously I will have to use some pdf pasing library/SDK. So do you guys know of any good one ?

Or any other method of parsing pdf file without using any library ?

_________________
There is no rule, law or tradition that apply universally... including this one.
Post 22 May 2008, 21:36
View user's profile Send private message Reply with quote
gunblade



Joined: 19 Feb 2004
Posts: 209
gunblade
Managed to double-post due to the board not responding, see post below Smile


Last edited by gunblade on 23 May 2008, 08:29; edited 1 time in total
Post 23 May 2008, 08:25
View user's profile Send private message Reply with quote
gunblade



Joined: 19 Feb 2004
Posts: 209
gunblade
Your best bet is probably ghostscript, comes with a binary and a library.

https://sourceforge.net/project/showfiles.php?group_id=1897&package_id=108733&release_id=555815

Not 100% sure if the windows one comes with a library, but it should (not checked)

Theres also an open source PDF reader called sumatra, which is open-source, and uses an external parser i believe (cant remember the name, but it should mention it in the manual somewhere).

http://blog.kowalczyk.info/software/sumatrapdf/

You could also not use an external library, but that means implementing a PDF parser, so you'll have to find the pdf specification and just implement a library to "render" a pdf into an image.

Theres also already programs which will do this kind of thing for you (pdf -> image), one of which is ImageMagick (pretty sure theres a windows port, although i use it under linux), and theres probably several other implementations for the same thing.

Good luck Smile
Post 23 May 2008, 08:27
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.