save a pdf file to jpgs

Moderator: Rathinagiri

Post Reply
User avatar
Posts: 273
Joined: Tue Aug 13, 2013 4:46 am
Location: Indonesia
Has thanked: 16 times
Been thanked: 11 times

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
Just Hmg It !

User avatar
Posts: 5411
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 252 times
Been thanked: 305 times

Post by Rathinagiri »

I hope you can use the command line tool (you can call the same using HMG)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Posts: 1448
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 267 times
Been thanked: 416 times

Post by AUGE_OHR »

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

Post Reply