In this article, VeryPDF will show you one method of converting PDF to image and of the converted image files by cloud based API application. When converting PDF to image, sometime there will be useless margins around the content in image. When you need to insert the image into some blog, website or frame, the margins will effect the inserting effect. Based on this situations, we add this function to PDF to image converter.
The software I use is named as VeryPDF PDF to Image Converter Cloud API, by which you can also run the conversion from C#, VB.NET, ASP.NET, ASP, PHP, Java, Ruby, Amazon, etc. VeryPDF cloud based application is totally standalone, when you use this software you do not need to install any third party application is image viewer, PDF reader and others. However, when run conversion by cloud based application, having one browser installed and web net connection are necessary. Please check more information of this software on homepage, in the following part, I will show you how to use this software.
Step 1. Register an API code.
- VeryPDF cloud based APIs are not totally free. If you use the trial version there will be watermark on output.
- When you use the API code,there will no watermark on output. When you need to get the API code, please register an account on registration page and choose API ordering method per month or per year. After paying, the API code will be sent to your email box at once.
Step 2. Convert PDF to image and.
- When converting PDF to image and
By the above URL, we can convert PDF to image in specified page range. Specify image resolution and trim image margins. Please use the real API code to instead of the apikey=xxx. Please add parameters at the end of URL. Now let us check the parameters used in above URL:
, please open browser and input the URL following the below URL.
- Now let us check trimming effect from the following snapshot.
-f <int> : first page to convert
-l <int> : last page to convert
-pagerange <string> : set page range
-trimimage : trim output image files, remove margins from output image files
By this cloud based application, we can convert PDF to image and remove margins easily. Meanwhile it can help you save lots of time and money. During the using, if you have any question, please contact us as soon as possible.