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
save a pdf file to jpgs
Moderator: Rathinagiri
save a pdf file to jpgs
Just Hmg It !
- 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
I hope you can use the command line tool (you can call the same using HMG)
https://www.mupdf.com/index.html
https://www.mupdf.com/index.html
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- 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
hi,
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
if it is a "Overlay" Windows (e.g. Directshow) you can use "Print Screen" and "cut out" Part using BT Function
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)
have fun
Jimmy
Jimmy