# Image DPI & Size Checker: Adobe Stock, Redbubble, Merch, KDP (`wooden_scanner_c1n/print-stock-preflight`) Actor

Image DPI and size checker before you upload: pass/fail against Adobe Stock, Shutterstock, Alamy, Amazon Merch on Demand, Redbubble and KDP rules, with fixes, print-size DPI table, AI-metadata flags and a KDP cover size calculator. Every rule cites its public source page.

- **URL**: https://apify.com/wooden_scanner_c1n/print-stock-preflight.md
- **Developed by:** [Sean](https://apify.com/wooden_scanner_c1n) (community)
- **Categories:** Developer tools, AI, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 image checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Print & Stock Submission Pre-flight

**Check your images before you upload them.** Paste image URLs and get a pass / warn / fail verdict for **Adobe Stock, Shutterstock, Alamy, Amazon Merch on Demand, Redbubble and Amazon KDP**, with the exact fix for every failed check, the effective DPI at common print sizes, AI-generation metadata flags, and a **KDP paperback cover size calculator** (trim size + page count + paper type → full cover size with spine and bleed).

Every rule cites the platform's own public help page, so you can see where each number comes from.

### Who it's for

- **Stock contributors** batch-checking files before an Adobe Stock / Shutterstock / Alamy upload (megapixels, file size, sRGB, baseline JPEG, Alamy's 17 MB uncompressed rule).
- **Print-on-demand sellers** checking one design against every Merch on Demand template and every Redbubble product minimum in one go.
- **Self-publishers** sizing a KDP paperback cover and checking that the artwork has 300 DPI at full-cover size; checking eBook covers against KDP's limits.
- **AI agents and automations** that generate images and need a deterministic "is this upload-ready?" gate (works well through the Apify MCP server).

### What it checks

| Area | Checks |
|---|---|
| File | format, file size, pixel dimensions, megapixels, aspect ratio, colour mode, bits per channel, ICC profile (sRGB / Adobe RGB / Display P3 / CMYK / untagged), DPI tag, JPEG baseline vs progressive, JPEG quality estimate |
| Pixels | % transparent, transparent margins (is the PNG trimmed?), sharpness score (heuristic) |
| Adobe Stock | JPEG, 4–100 MP, ≤ 45 MB, sRGB |
| Shutterstock | JPEG or TIFF, ≥ 4 MP, ≤ 50 MB browser upload, sRGB recommended |
| Alamy | RGB JPEG, baseline, > 17 MB uncompressed, high quality, flags AI-generation metadata (Alamy doesn't accept AI images) |
| Merch on Demand | PNG, < 25 MB, > 485 × 485 px, sRGB / RGB 8-bit, transparency, trimmed margins, and fit against **22 product templates** (4500 × 5400 apparel, hoodie fronts, mugs, tumblers, posters, blankets …) |
| Redbubble | JPEG/PNG, ≤ 300 MB, ≤ 13500 px, RGB, and **49 product minimums** (tees, stickers, posters, puzzles, pillows …) |
| KDP eBook cover | JPEG/TIFF, ≥ 625 × 1000, ≤ 10,000 px, ideal 1600 × 2560, ratio ≥ 1.6:1, < 50 MB, RGB |
| KDP paperback cover | full-cover proportions incl. spine + 0.125 in bleed, ≥ 300 DPI at full size, CMYK recommendation |
| Print sizes | effective DPI and crop % for A6–A0 and US sizes (4×6 … 24×36 in); max print size at 300 and 150 dpi |
| Metadata | presence of EXIF, copyright notice, creator, GPS, XMP, IPTC, C2PA manifest, IPTC DigitalSourceType, AI-generator traces (Stable Diffusion/ComfyUI text chunks, Midjourney/Firefly/DALL·E software tags) |

### Input example

```json
{
  "imageUrls": [
    "https://images-assets.nasa.gov/image/as11-40-5903/as11-40-5903~orig.jpg",
    "https://example.com/my-design.png"
  ],
  "platforms": ["adobe_stock", "shutterstock", "merch_on_demand", "redbubble"],
  "merchProducts": ["standard_apparel", "mug", "poster_16x20"],
  "printSizes": ["A4", "A3", "8x10in", "18x24in"],
  "kdpTrimSize": "6x9",
  "kdpPageCount": 200,
  "kdpPaperType": "cream"
}
```

Leave `platforms` empty to check them all. Fill the three KDP fields to get the cover calculator record (free) and a `kdp_paperback_cover` check for each image.

### Output example (one image, trimmed)

```json
{
  "type": "image",
  "imageUrl": "https://images-assets.nasa.gov/image/as11-40-5903/as11-40-5903~orig.jpg",
  "format": "JPEG", "widthPx": 5189, "heightPx": 5067, "megapixels": 26.29,
  "colorSpace": "sRGB", "fileSizeMB": 3.04,
  "maxPrintSize": {"at300dpi": {"widthIn": 17.3, "heightIn": 16.89, "widthCm": 43.9, "heightCm": 42.9}},
  "printSizes": [{"size": "A3", "effectiveDpiWhenFilled": 314, "cropToFillPct": 27.6, "verdict": "pass"}],
  "platforms": [
    {"platform": "adobe_stock", "verdict": "pass", "checks": [
      {"id": "megapixels", "status": "pass", "actual": 26.293, "required": "4-100 MP",
       "sourceUrl": "https://helpx.adobe.com/stock/contributor/submit-your-content/submit-photos/technical-legal-requirements-photo-submission.html"}]},
    {"platform": "merch_on_demand", "verdict": "fail", "checks": [
      {"id": "format", "status": "fail", "actual": "JPEG", "required": "PNG", "fix": "Export as PNG."}]}
  ],
  "summary": {"passed": ["adobe_stock", "shutterstock", "alamy"], "warnings": ["redbubble"], "failed": ["merch_on_demand"],
              "topFixes": ["[merch_on_demand] File format: Export as PNG."]},
  "metadata": {"hasCopyrightNotice": false, "c2paManifestPresent": false, "aiGenerationSignals": []},
  "rulesCheckedOn": "2026-11-03",
  "source": "Computed locally with Pillow …", "licence": "…"
}
```

KDP calculator record:

```json
{"type": "kdpCoverSpec", "trimSize": "6x9", "pageCount": 200, "paperType": "cream",
 "spineWidthIn": 0.5, "fullCoverIn": {"width": 12.75, "height": 9.25},
 "fullCoverPx300dpi": {"width": 3825, "height": 2775}, "spineTextAllowed": true}
```

### Pricing (pay per event)

- **$0.005** per run start.
- **$0.002 per image checked** (all selected platforms, products and print sizes included).
- Free: images that can't be downloaded or read (reported with an `error`), and the KDP cover calculator record.

100 images ≈ $0.205. Set a maximum cost per run in Apify and the Actor stops cleanly when it's reached.

### Sources and licence

Platform requirements are facts paraphrased from each platform's public help page, read on 3 Nov 2026; every check includes its `sourceUrl`:

- Adobe Stock: helpx.adobe.com (photo submission requirements)
- Shutterstock: support.submit.shutterstock.com (technical requirements for images)
- Alamy: alamy.com/help/contributor-uploading
- Amazon Merch on Demand: merch.amazon.com/resource/Y28FFE5NLRYJG4V (templates) and /201849250 (best practices)
- Redbubble: help.redbubble.com (Dimensions & Format)
- Amazon KDP: G201953020 (paperback cover), GVBQ3CMEQW3W2VL6 (trim sizes), G200645690 (eBook cover)
- Paper sizes: ISO 216

All measurements are computed locally with Pillow. **Your images are not stored or shared**: each file is streamed into memory, measured, and discarded. Personal metadata (creator names, copyright text, GPS coordinates) is reported only as present / absent, never echoed.

Not affiliated with Adobe, Shutterstock, Alamy, Amazon or Redbubble. Verdicts are guidance; platforms also review content, quality and rights by hand, and change rules over time (see `rulesCheckedOn`).

### Limits

- Max 50 MB per file (bigger files are refused before download), max 500 images per run.
- Pixel analysis is skipped above 60 MP for PNG/TIFF/WebP and above 120 MP for JPEG (header checks still run).
- Vector files (EPS/SVG/AI) and PDFs are not analysed. Adobe Stock PNG-submission and vector rules are not covered.
- AI-metadata detection only finds what's in the file. A clean result doesn't prove an image is not AI-generated, and C2PA manifests are detected, not cryptographically validated.
- The sharpness score is a heuristic (Laplacian variance), so use it to triage, not to decide.
- KDP hardcover and groundwood-paper spines are not calculated (KDP's cover page publishes no groundwood spine formula).

### Use with AI agents (MCP)

Add this Actor to the [Apify MCP server](https://mcp.apify.com) and an agent can call it with `{"imageUrls": [...], "platforms": [...]}` and read `summary.failed` / `summary.topFixes` to decide whether to regenerate, resize or convert an image before uploading.

# Actor input Schema

## `imageUrls` (type: `array`):

Direct links to the image files (JPEG, PNG, TIFF, WebP). One per line. Files are streamed and capped at 'Max file size'; nothing is stored.

## `platforms` (type: `array`):

Which platforms' rules to apply. Leave empty for all except the KDP paperback cover (which is added automatically when you fill in the KDP fields below).

## `merchProducts` (type: `array`):

Limit the per-product fit table to these Merch products. Empty = all.

## `redbubbleProducts` (type: `array`):

Limit the per-product minimum-size table to these Redbubble products. Empty = all.

## `printSizes` (type: `array`):

Paper/photo sizes for the effective-DPI table (image orientation is matched automatically).

## `kdpTrimSize` (type: `string`):

Fill this and the page count to get the full-cover size (with spine and bleed) and to check your images against it.

## `kdpPageCount` (type: `integer`):

Interior page count. Must be within KDP's range for the trim size and paper.

## `kdpPaperType` (type: `string`):

Sets the spine thickness per page (KDP's published formula).

## `maxFileSizeMB` (type: `integer`):

Larger files are not downloaded and are reported (free) as errors. Hard cap 50 MB.

## `maxImages` (type: `integer`):

Safety cap on how many URLs are checked. You pay per image checked.

## `pixelAnalysis` (type: `boolean`):

Turn off for header-only checks (faster on huge files).

## Actor input object example

```json
{
  "imageUrls": [
    "https://images-assets.nasa.gov/image/as11-40-5903/as11-40-5903~orig.jpg",
    "https://raw.githubusercontent.com/python-pillow/Pillow/main/Tests/images/transparent.png"
  ],
  "platforms": [
    "adobe_stock",
    "shutterstock",
    "alamy",
    "merch_on_demand",
    "redbubble",
    "kdp_ebook_cover"
  ],
  "printSizes": [
    "A4",
    "A3",
    "A2",
    "4x6in",
    "5x7in",
    "8x10in",
    "11x14in",
    "16x20in",
    "18x24in",
    "24x36in"
  ],
  "kdpPaperType": "white",
  "maxFileSizeMB": 50,
  "maxImages": 100,
  "pixelAnalysis": true
}
```

# Actor output Schema

## `results` (type: `string`):

All records from the run.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "imageUrls": [
        "https://images-assets.nasa.gov/image/as11-40-5903/as11-40-5903~orig.jpg",
        "https://raw.githubusercontent.com/python-pillow/Pillow/main/Tests/images/transparent.png"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("wooden_scanner_c1n/print-stock-preflight").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "imageUrls": [
        "https://images-assets.nasa.gov/image/as11-40-5903/as11-40-5903~orig.jpg",
        "https://raw.githubusercontent.com/python-pillow/Pillow/main/Tests/images/transparent.png",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("wooden_scanner_c1n/print-stock-preflight").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "imageUrls": [
    "https://images-assets.nasa.gov/image/as11-40-5903/as11-40-5903~orig.jpg",
    "https://raw.githubusercontent.com/python-pillow/Pillow/main/Tests/images/transparent.png"
  ]
}' |
apify call wooden_scanner_c1n/print-stock-preflight --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wooden_scanner_c1n/print-stock-preflight"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Aqd6sf5ET57wTNk3w/builds/zo3DMCWY6Fj5goZtj/openapi.json
