Google Answers Logo
View Question
 
Q: Converting documents into JPG files ( No Answer,   2 Comments )
Question  
Subject: Converting documents into JPG files
Category: Computers > Programming
Asked by: johngl-ga
List Price: $10.00
Posted: 04 Jun 2004 22:03 PDT
Expires: 04 Jul 2004 22:03 PDT
Question ID: 356692
I'm looking for an .ocx control (for Visual Basic) that would convert
a PDF, MS Word or HTML files into a .jpg file.  A command line
program, that I could call from a program, would also work.  Thank
you.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Converting documents into JPG files
From: crythias-ga on 06 Jun 2004 07:24 PDT
 
What's the goal? Thumbnails? see if this helps
http://www.codeproject.com/dotnet/pdfthumbnail.asp Also I hear that
http://studio.imagemagick.org/ has an API that may do what you're
asking, but it's not .ocx... (it's OpenSource)
Subject: Re: Converting documents into JPG files
From: peterd-ga on 24 Jun 2004 08:03 PDT
 
a way that might work within vb is;
Launch file with default application - using Shell API.
use Sendkeys command to send the ALT + printscreen keys which will
copy the current screen to the clipboard.
Use clipboard ojbect in VB to write binary clipboard to a file.

The only problem with this is if the documents go off screen, if they
are more than 1 page in length the screen capture wont grab it all.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy