Sub topic 14
Export and run a pre-publish checklist
Everything you have built so far (tokens, grid, templates, naming) pays off or fails at the last step: the file that goes to the platform. This chapter covers how to export graphics so they look the same on every screen, and how to run a repeatable check before you publish.
This chapter assumes you know the platform formats and safe zones from the earlier chapter, that your files follow a naming convention, and that you can run a short Python script. The script needs the Pillow library (pip install pillow).
Why export deserves its own step
A design that looks right in your editor can break on its way to the feed. The usual causes are:
- The canvas size is wrong, so the platform crops or rescales the image.
- The color profile is not sRGB, so colors shift on phones.
- The file format suits the content badly, so text gets fuzzy or the file gets large.
- The platform recompresses the image and adds artifacts around thin text.
- A text edit changed the line breaks, and nobody checked the final version.
Most of these are mechanical, so you can check them mechanically. The rest need a human to look at the result, which is why the checklist has two parts.
Choose the format and size
Pick the format by content type.
| Content | Format | Why |
|---|---|---|
| Flat color, text, icons, logos | PNG | Lossless, so edges and thin strokes stay sharp |
| Photos or photo-heavy cards | JPEG | Smaller files, and compression artifacts are hard to see in photos |
| Simple vector motion or stills with transparency | PNG (with alpha) | Keeps transparency, but see the warning below |
Export at the exact pixel size of the format. For a 4:5 feed post that is 1080 x 1350. If your template canvas is that size, export at 1x. If you design at a different size, scale by a whole factor, such as 2x for a 2160 x 2700 master. Keep that master separately and export the delivery size from it.
Platform specifications change. Limits on file size, accepted formats, and recommended dimensions are set by each platform, so check its current help pages when you set up the series. Then write the values into your template spec so you do not have to look them up again.
Color profile and metadata
Social platforms and most phone screens assume sRGB. If you design in a wider space such as Display P3 or Adobe RGB, convert to sRGB on export instead of only tagging the file. Otherwise saturated accent colors, like the amber #ffb703 in the token set, can look duller or shifted after the platform strips or ignores the profile.
In most design tools, look for an export option named "Convert to sRGB" or "Embed color profile." Turn on the conversion. Embedding the sRGB profile as well is harmless and helps viewers that read it.
Strip metadata you do not need. Exported files can carry location data from source photos, the author's name, or editing history. Most export dialogs have a "remove metadata" option.
Understand what the platform does to your file
Platforms recompress uploads. You cannot prevent this, but you can reduce the damage:
- Upload at the recommended size or slightly above it. If the file is smaller than the platform expects, the platform scales it up and softens it.
- Avoid text thinner than a regular weight on busy photos. Compression smears thin strokes first.
- Keep large flat areas truly flat. Gradients across a large area can show banding after compression. If you need a gradient, add very light noise to break up the bands.
- Test with a real upload when you add a new template. A private account or an unpublished draft is enough.
Automate the mechanical checks
The following script checks every exported file in a folder. It assumes names like quote-card_feed_2026-11-27_v03.png, where the second part (feed) tells the script which size to expect. Adapt the EXPECTED table to your own convention and formats.
import io
import sys
from pathlib import Path
from PIL import Image, ImageCms
EXPECTED = {
"feed": (1080, 1350),
"story": (1080, 1920),
"square": (1080, 1080),
}
MAX_BYTES = 8 * 1024 * 1024 # set this from the platform's current limit
EXTENSIONS = {".png", ".jpg", ".jpeg"}
def check_file(path):
problems = []
parts = path.stem.split("_")
fmt = parts[1] if len(parts) > 1 else None
if fmt not in EXPECTED:
problems.append(f"unknown format code in name: {fmt!r}")
if path.stat().st_size > MAX_BYTES:
problems.append(f"file is {path.stat().st_size / 1_048_576:.1f} MB")
with Image.open(path) as img:
if fmt in EXPECTED and img.size != EXPECTED[fmt]:
problems.append(f"size {img.size}, expected {EXPECTED[fmt]}")
if img.mode not in ("RGB", "L"):
problems.append(f"mode {img.mode}: flatten transparency to RGB")
icc = img.info.get("icc_profile")
if icc:
profile = ImageCms.getOpenProfile(io.BytesIO(icc))
name = ImageCms.getProfileDescription(profile).strip()
if "srgb" not in name.lower():
problems.append(f"embedded profile is {name!r}, convert to sRGB")
return problems
def main(folder):
files = sorted(p for p in Path(folder).iterdir() if p.suffix.lower() in EXTENSIONS)
if not files:
print("no exported files found")
return 1
failed = 0
for path in files:
problems = check_file(path)
if problems:
failed += 1
print(f"FAIL {path.name}")
for problem in problems:
print(f" - {problem}")
else:
print(f"ok {path.name}")
return 1 if failed else 0
if __name__ == "__main__":
sys.exit(main(sys.argv[1] if len(sys.argv) > 1 else "export"))Run it with python check_exports.py export. A non-zero exit code means at least one file failed, so you can also use it in a script that uploads files or in a scheduled job.
The script catches wrong dimensions, oversized files, transparency, and non-sRGB profiles. It cannot tell whether the headline is cut off or the logo overlaps a photo. That is the human part.
The human review
Open each exported file, not the design file, and review it on a phone-sized view. Exported files can differ from the source: a font may have been substituted, an effect may have been rasterized differently, or a text layer may have been edited after the last review.
Use a checklist that you can finish in a few minutes per graphic:
- Message. Can someone state the main point within two seconds? (See the visual hierarchy chapter.)
- Safe zones. Is all important text and the logo inside the safe area for this platform, including the part covered by interface overlays?
- Margins. Are text blocks still at the fixed margin, with nothing crowding the edge?
- Contrast. Does text on the final background still meet 4.5:1 for normal text and 3:1 for large text? Check text over photos at the lightest and darkest spots behind it.
- Text accuracy. Are names, numbers, dates, and links correct? Read the text aloud once. Typos hide in headlines.
- Template fidelity. Are the fixed elements (logo position, background, title font) unchanged from the template?
- Sequence. For carousels, swipe through in order. Does each slide connect to the next, and does the last slide end the story?
- Crop preview. Does the grid thumbnail or profile crop still show a readable image?
- Alt text and caption. Is alt text written, and does the caption match the graphic?
- File. Does the file name match the convention, and did the script pass?
Put the checks in order
Run the cheap, automatic checks first and the slow, human checks second. A wrong canvas size makes every visual judgment pointless, so find it before you spend time reviewing.
Always fix the source file and re-export. Do not patch the exported image in another tool, because the next person who edits the template will not have your patch.
Archive what you published
After publishing, store the exact exported files next to the editable source, using your naming convention and a version number. Later you will want to see exactly what went live, for example when you review the series or when someone asks for the same graphic in a new size. Record the platform and the publish date in the folder or in a short log.
Common mistakes
- Exporting at the wrong scale. A 2x export uploaded to a platform that expects 1x is resized by the platform, with unpredictable sharpness. Always match the delivery size.
- Checking the design file instead of the export. Fonts, effects, and flattening can change in the export.
- Skipping a phone check. Text that is comfortable on a monitor can be too small at phone width. The type scale from earlier chapters sets minimum sizes for this reason.
- Reusing last month's export settings. Template changes, new platform sizes, or a switched color space can make old presets wrong. Save export presets with the template and review them when the template changes.
- Treating the script as a full review. Passing means the file is technically valid, not that it is good.
Exercises
Exercise
An exported 1080 x 1350 PNG passes the size check, but the amber accent color looks dull on a phone. What is the most likely cause, and what should you change in the export?
Show answer
The file was probably exported in a wider color space such as Display P3 or Adobe RGB, or without conversion, so colors shift when the platform or phone assumes sRGB. Turn on conversion to sRGB in the export settings (and optionally embed the sRGB profile), then re-export and run the script again.
Exercise
Your checklist has an automatic script step and a human review step. Why should the script run first, and why can the script not replace the human review?
Show answer
The script is quick and finds problems, such as a wrong canvas size, that make a visual review pointless, so running it first avoids wasted effort. It cannot judge things that need sight and context: whether text is inside the platform's safe zones, whether contrast holds over a photo, whether the message is clear, whether a headline has a typo, or whether a carousel reads as a sequence.