Create Image from PDF in Power Automate
PDF4me Create Image from PDF action converts specific PDF pages to image files in Power Automate with comprehensive format and resolution control. This powerful conversion feature supports multiple image formats (JPG, JPEG, BMP, GIF, JB2, JP2, JPF, JPX, PNG, TIF, TIFF), custom width in pixels, and flexible page selection by typing what you need in the page field, perfect for thumbnail generation, preview creation, social media sharing, and image-based processing across Microsoft 365 workflows.
Authenticating Your API Request
To access the PDF4me Web API through Power Automate, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Power Automate flows and PDF4me's powerful PDF to image conversion services.

Key Features
- Multiple Image Formats: Convert to JPG, PNG, TIFF, GIF, BMP, and more
- Page Selection: Type which pages to convert in the page field (single pages, ranges, or keywords like
all) - Resolution Control: Set custom width in pixels for output quality
- Thumbnail Creation: Generate preview images from PDF pages
- Batch Conversion: Convert multiple pages simultaneously
Parameters
Complete list of parameters for the Create Image from PDF action. Configure these parameters to control image generation.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| File Content*** | Binary | Source PDF File Content • Map PDF file from previous action output • Supports PDFs from SharePoint, OneDrive, email • Can be dynamically retrieved from flow variables • Must be valid PDF document | [File Content from Get File] |
| File Name*** | String | PDF Document Name • Source PDF file name with .pdf extension • Used for processing identification • Must include proper file extension • Supports dynamic naming from flows | Document.pdf |
| Image Extension*** | Option | Output Image Format • jpg/jpeg - JPEG format for photos • png - PNG format with transparency support • bmp - Bitmap format • gif - GIF format for simple graphics • tif/tiff - TIFF format for high quality • jb2, jp2, jpf, jpx - Advanced formats | png |
| Width Pixels*** | Number | Image Width • Width of output image in pixels • Higher values for better quality • Typical range: 800-2400 pixels • Height calculated automatically to maintain aspect ratio | 1200 |
| Page Number*** | String | Pages to Convert • Type one line of text in the page field—plain numbers, commas, hyphens, and a few keywords (see below) • First page is 1 (the opening page of the PDF is page 1) • Separate picks with commas—for example 1,3,5 is three single pages; 1,2-3,5,7- mixes singles and spans• Hyphen means “through”— 2-5 is pages 2, 3, 4, and 5. A dash with nothing after it (7-) means “from page 7 to the last page”• Keywords: all or a lone * for the whole file; last for the final page only; first, 0, or 1 for the first page only; -1 and -2 to count from the end• Too-large page numbers are ignored, and you can type the same page more than once if you need more than one image from it | 1,3,5 or all or 1,2-3,5,7- |
:::tip How to fill the page field
- Type
allto convert every page. A lone*(asterisk) does the same job if you prefer it. lastis only the final page.first,0, or plain1all mean “just the first page.”0is simply another way to say page 1; after that you still count 2, 3, 4…-1is the last page.-2is the page before that (on a 12-page file that is page 11).- Commas let you stitch pieces together.
1,2-3,5,7-reads as: page 1, pages 2 through 3, page 5, then page 7 all the way to the end. The empty spot after7-is what tells the service “run to the last page.”
:::
:::info Why we show 1,2-3,5,7- instead of 0,1-2,5,7-
0,1-2,5,7- is legal, but 0 and 1-2 both include page 1, so you can accidentally render the first page twice. 1,2-3,5,7- says the same kind of thing with less overlap.
:::
Example strings (picture a 12-page PDF)
| What you type | What you get |
|---|---|
1,2-3,5,7- | Page 1, pages 2–3, page 5, then pages 7–12 |
all | Pages 1 through 12 |
* | Same as all |
-1 | Page 12 (last) |
-2 | Page 11 (second from the end) |
last | Page 12 only |
first | Page 1 only |
0 | Page 1 only (same idea as first) |
Practical notes
7-with nothing after the dash means “from page 7 through the last page.”- Page numbers that do not exist are ignored.
7-3(backwards) still keeps page 7 from that chunk when page 7 exists; do not expect pages 6 and 5 from that piece.- Listing the same page more than once is allowed—each mention can produce another image.
Output
The PDF4me Create Image from PDF action returns comprehensive output data for seamless Power Automate flow integration:
- Table
- JSON
- Flow Integration
Table View
Response data in a structured table format:
| Parameter | Type | Description |
|---|---|---|
| File Content | Binary | Generated image file content from specified PDF pages |
| File Name | String | Name of the output image file |
JSON Response Format
{
"File Content": "[Binary Content of Image]",
"File Name": "Document_Page_1.png"
}
Power Automate Flow Usage
Use generated images in subsequent actions:
- Thumbnail Creation: Use images as document previews
- Social Media: Share PDF pages as images on social platforms
- Email Distribution: Send key pages as images in emails
- Image Processing: Apply image operations to converted pages
- Web Display: Show PDF pages as images on websites
- Mobile Apps: Use images in mobile-friendly formats
Workflow Examples
The PDF4me Create Image from PDF action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:
- Thumbnail Generation
- Social Media Sharing
- Email Preview
- OCR Preparation
Automated Document Thumbnail Generation
Transform document management with automated thumbnail creation:
Complete Workflow Steps:
- Trigger: PDF document uploaded to SharePoint library
- Get PDF: Retrieve uploaded PDF
- Convert First Page: Create PNG image of page 1 at 800px width
- Resize Thumbnail: Reduce to 200px for thumbnail size
- Upload Thumbnail: Save to SharePoint as document preview
- Update Metadata: Link thumbnail to document
- Enable Preview: Configure library to show thumbnails
- Index Document: Add with thumbnail for better discovery
Business Benefits:
- Creates 300+ document thumbnails monthly
- Improves document browsing experience
- Accelerates document identification by 70%
- Enhances SharePoint library visual navigation
Automated PDF Page to Social Media Workflow
Streamline social sharing with automated PDF to image conversion:
Complete Workflow Steps:
- Trigger: Marketing approves infographic PDF for social media
- Get Infographic: Retrieve PDF from marketing folder
- Convert to Image: Create JPEG image at 1200px width
- Optimize Size: Ensure under 5MB for platform requirements
- Add Watermark: Apply company logo watermark
- Post to Twitter: Share image on Twitter via connector
- Post to LinkedIn: Share image on LinkedIn
- Archive Posts: Store image and post metadata
Business Benefits:
- Shares 40+ PDF pages monthly on social media
- Enables easy PDF content sharing on social platforms
- Increases engagement by 60% with image posts
- Automates multi-platform distribution
Automated Email Document Preview Creation
Optimize email communications with PDF preview images:
Complete Workflow Steps:
- Trigger: Report PDF ready for email distribution
- Get Report: Retrieve report PDF from SharePoint
- Convert First Page: Create PNG preview of first page
- Resize for Email: Optimize to 600px width
- Compose Email: Create HTML email with embedded preview
- Add PDF Attachment: Attach full PDF to email
- Email Distribution: Send to stakeholder list
- Track Opens: Monitor email engagement metrics
Business Benefits:
- Enhances 50+ report emails monthly with previews
- Increases email open rates by 35% with preview images
- Improves recipient engagement before opening PDF
- Reduces email size with optimized preview images
Automated OCR Image Preparation Workflow
Enhance OCR processing with PDF to image conversion:
Complete Workflow Steps:
- Trigger: Scanned PDF uploaded for OCR processing
- Get PDF: Retrieve scanned PDF
- Convert All Pages: Create TIFF images of all pages
- Apply to Each: Process each page image
- Enhance Image: Apply image processing for OCR optimization
- Run OCR: Process enhanced images with OCR engine
- Compile Text: Combine extracted text from all pages
- Create Searchable: Build searchable PDF with extracted text
Business Benefits:
- Processes 100+ scanned documents monthly
- Improves OCR accuracy with image optimization
- Enables advanced image preprocessing
- Creates high-quality searchable PDFs
Industry Use Cases & Applications
- E-commerce & Retail
- Real Estate & Property
- Publishing & Media
- Education & Training
E-commerce & Retail Use Cases
- Product Page Previews: Create product catalog page images
- Thumbnail Generation: Generate catalog thumbnail images
- Social Media Posts: Convert product PDFs to shareable images
- Email Marketing: Create preview images for campaigns
Real Estate & Property Use Cases
- Listing Previews: Create property brochure page images
- Floorplan Images: Convert floorplan PDFs to images
- Virtual Tour Preparation: Generate images from PDF presentations
- Social Media Marketing: Share property pages as images
Publishing & Media Use Cases
- Page Previews: Create preview images of publications
- Article Sharing: Convert article PDFs to social images
- Thumbnail Generation: Generate publication thumbnails
- Digital Asset Creation: Create image assets from PDF pages
Education & Training Use Cases
- Course Material Previews: Create preview images of course PDFs
- Slide Images: Convert presentation pages to images
- Learning Object Creation: Generate images from educational PDFs
- Social Learning: Share educational content as images