Skip to content
FramesField
SKILL.md Developer / Local Tooling SKILL.md
Verified Nov 30, 2026

Print 300 DPI Bleed and Sharp Export Skill

How to install this SKILL.md

Install into .claude/skills/, .cursor/skills/, or .agents/skills/ whenever preparing AI posters, packaging dielines, flyers, or editorial zines for commercial 300 DPI print shops.

Installable SKILL.md teaching Claude Code, Cursor, and Codex to calculate exact 300 DPI print pixel targets (including 0.125-inch bleed and safe trim zones), reject under-sized 1MP AI images before press, route upscaling cleanly through 4x-UltraSharp, and stamp 300 DPI metadata with sharp.

Compatible agent hosts
Claude Code Cursor Codex
Target tool: Sharp / 300 DPI Print / ComfyUI 4x · License: MIT
  1. STEP 01
    Install the 300 DPI Print Export skill

    Pick Claude Code, Cursor, or Codex below to save SKILL.md into your skills folder.

  2. STEP 02
    Give your physical print size & bleed

    Agent computes exact Inches x 300 + 75px bleed pixel targets and checks if your AI plate meets 300 DPI.

  3. STEP 03
    Stamp 300 DPI metadata & soft-proof safely

    Resizes with Lanczos-3, embeds density: 300, warns on out-of-gamut neon colors, and validates trim margins.

1. Install for your tool

Pick the app you use below for the exact verified command or config—zero manual guessing.

Direct raw file (SKILL.md) ↓
Claude Code (.claude/skills/) bash
Installs into .claude/skills/print-300dpi-bleed-export/SKILL.md for automated print-production pre-flight.
mkdir -p .claude/skills/print-300dpi-bleed-export
curl -fsSL https://framesfield.com/raw/skills/print-300dpi-cmyk-bleed-export-skill -o .claude/skills/print-300dpi-bleed-export/SKILL.md

2. Inspect or download the full SKILL.md file

This is the exact raw file served at /raw/skills/print-300dpi-cmyk-bleed-export-skill.

Print 300 DPI Bleed and Sharp Export Skill SKILL.md
---
name: print-300dpi-bleed-export
description: Validate and prepare AI-generated rasters and Recraft V4.1 SVGs for commercial 300 DPI print production—computing exact pixel targets with 0.125-inch (37.5px/side) bleed margins, rejecting under-res 1MP masters, routing 4x neural upscaling when needed, and stamping 300 DPI PNG/TIFF metadata with sharp.
---

# Commercial 300 DPI Print & Bleed Pre-Flight Protocol

Whenever preparing AI artwork (FLUX 3 Image, Ideogram 4.6, Seedream 5.5, Qwen-Image 20B, Recraft V4.1) for physical printing—flyers, product packaging, posters, books, or merch—enforce these hard physical math checks before press handoff:

## 1. Exact Print Pixel & Bleed Formulas (Never Guess)
- **Trim Pixels:** `Width_in * 300` × `Height_in * 300`
- **Standard US/EU Full Bleed (`+0.125"` / `+3mm` per side = `+0.25"` total):** Add **`+75 px`** to total width and **`+75 px`** to total height (`38 px` per edge).
- **Safe Text Margin (`0.25"` inside trim):** Keep all typography, barcodes, and logos at least **`113 px`** (`38px bleed + 75px inner safe`) away from the outer bleed canvas edge.

| Print Piece | Trim Size | With 0.125" Bleed @ 300 DPI | Source Path |
| --- | --- | --- | --- |
| Business Card | 3.5 × 2.0 in | `1125 × 675 px` | Native 1–2K (FLUX 3 / Seedream 5.5) or SVG |
| Postcard | 6.0 × 4.0 in | `1875 × 1275 px` | FLUX 3 2K ($0.10) / Seedream 5.5 2K ($0.035) / Ideogram 4.6 2K |
| US Letter Flyer | 8.5 × 11.0 in | `2625 × 3375 px` | Ideogram 4.6 4K ($0.12) / FLUX 3 4K or ComfyUI 4x-UltraSharp |
| Tabloid Poster | 11.0 × 17.0 in | `3375 × 5175 px` | ComfyUI 4x-UltraSharp (`Skill 37`) or Native SVG |

## 2. Resolution Floor Gate (Reject Upscaling > 1.25x Without Neural Pass)
Read natural input pixel dimensions via `sharp(file).metadata()`.
- If `inputWidth < targetWidth * 0.85`, **STOP**—never stretch a `1024px` 1MP image `3x` with bicubic scaling. Route it through ComfyUI `4x-UltraSharp` (`Skill 37`) first, or regenerate at native 4K in `Ideogram 4.6` (`$0.12` Medium 4K / `$0.20` High 4K) or `FLUX 3 Image` 4K (`$0.607`; Klein 4K `$0.036`). Note that `Seedream 5.5` caps at 2K (`≤4.62 MP`), so upscale 2K Seedream plates via `4x-UltraSharp` before large flyer or poster runs.
- For logos, emblems, barcodes, and technical packaging diagrams, **always keep them as native vector `.svg`/PDF** (`Recraft V4.1` / Illustrator)—never rasterize vector logos into 300 DPI bitmaps.

## 3. Stamp 300 DPI Print Metadata & Lossless Export (`sharp`)
```bash
node --input-type=module -e "
import sharp from 'sharp';
await sharp('upscaled_4x.png')
  .resize(2625, 3375, { fit: 'cover', kernel: sharp.kernel.lanczos3 })
  .withMetadata({ density: 300 })
  .tiff({ compression: 'lzw' })
  .toFile('letter_flyer_300dpi_bleed.tif');
"
```

## 4. CMYK Gamut Warning
Electric sRGB neons (`#00FF88`, bright cyan, hyper-saturated magenta) shift duller when printed in CMYK offset ink. Favor natural daylight palettes and always request your print vendor's ICC CMYK profile (e.g., `GRACoL2006` or `FOGRA39`) for final PDF/X-1a pre-press conversion.

3. Test it right away (sample prompt & result)

Sample prompt / input
"Check whether hero_plate.png (2048x2048) is sharp enough for an 11x17 poster at 300 DPI with 0.125-inch bleed, and generate a 300 DPI LZW TIFF once upscaled."
What happens when it runs
- Computes 11x17 + bleed @ 300 DPI = 3375x5175 px (17.5 MP); rejects 2048x2048 direct stretch (only 120 DPI) and routes through ComfyUI 4x-UltraSharp (Skill 37) first.
- Downsamples upscaled master cleanly via Lanczos-3 to exact 3375x5175 px, stamps density: 300, and exports lossless LZW TIFF.

What you need & known limits

Requirements

  • Node.js 18+ with sharp installed
  • Optional ComfyUI 4x-UltraSharp (Skill 37) when source plates fall below 85% of target print pixels

Watch out for

  • Always embed crisp packaging text, barcodes, and vector logos on a separate vector layer in Figma/InDesign/Illustrator before final PDF/X-1a press export
  • Sharp outputs RGB/TIFF cleanly; apply your printer's exact CMYK ICC profile (FOGRA39 / SWOP / GRACoL) during final PDF pre-press

Frequently Asked Questions

Does simply changing an image's DPI metadata from 72 to 300 make a 1024px image print sharp?
No. Changing DPI metadata alone only changes the physical print scale header without adding detail—a 1024x1024 file at 300 DPI is physically only 3.4 inches square. You must supply enough actual pixels (via native 4K Ideogram 4.6 or FLUX 3 Image, 2K Seedream 5.5 for postcards, or ComfyUI 4x-UltraSharp) before stamping 300 DPI.
Why add 75 pixels total (38px per edge) for bleed?
Commercial guillotines trim stacked paper with +/- 1mm mechanical tolerance. Extending background artwork 0.125 inches (37.5 pixels at 300 DPI) beyond all four trim lines ensures zero accidental thin white slivers appear on finished prints.
Use this page in AI tools or notes
raw .md