save a pdf file to jpgs

Moderator: Rathinagiri

Post Reply
User avatar
hmgchang
Posts: 273
Joined: Tue Aug 13, 2013 4:46 am
Location: Indonesia

save a pdf file to jpgs

Post by hmgchang »

Hola Masters,

1. Any topic posted about saving a pdf to a jpg file with HMG ?
2. Some aplication can only save one/current view/page to a jpg,
i want to have with HMG of course that can convert/save a pdf( pages) to jpgs( jpg001, jpg002...)

I need suggestion on how to code with HMG


Thks n Rgds
Chang
Just Hmg It !
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: save a pdf file to jpgs

Post by Rathinagiri »

I hope you can use the command line tool (you can call the same using HMG)

https://www.mupdf.com/index.html
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: save a pdf file to jpgs

Post by AUGE_OHR »

hi,
hmgchang wrote: Sat Jul 03, 2021 10:50 pm I need suggestion on how to code with HMG
i don´t known a direct Way but a Workaround

when display PDF in a Form you can get a Bitmap (JPEG) like a Snap-Shot with HMG Bos Taurus
have a look into c:\hmg.3.4.4\SOURCE\BosTaurus\h_BosTaurus.prg

Code: Select all

Function BT_BitmapCaptureWindow (Win, Row, Col, Width, Height)
if it is a "Overlay" Windows (e.g. Directshow) you can use "Print Screen" and "cut out" Part using BT Function
have fun
Jimmy
Post Reply