à 720 or 600à 600: What Each Size Does in pack_product.py and Why
First upload reject. Adobe say cover wrong size. I ship 1024×1024. Platform demand 1280×720. Thumbnail demand 600×600. Two sizes. One script. Zero docs. I fix `pack_product.py`, now 1,077 assets ready or submitted, fi
First upload reject. Adobe say cover wrong size. I ship 1024×1024. Platform demand 1280×720. Thumbnail demand 600×600. Two sizes. One script. Zero docs. I fix `pack_product.py`, now 1,077 assets ready or submitted, first paid sale $2.80.
## The two sizes, exact
`pack_product.py` render two images per product:
- Cover: **1280×720**
- Thumbnail: **600×600**
Not arbitrary. Platform rules. Adobe Stock cover preview want 16:9. Thumbnail grid want square. Vecteezy same. Dreamstime same. Wrong ratio mean reject before human ever see art.
Script do both in one run. No toggle. No config. Correct size baked in.
## What the cover does
Cover is the sell image. On Adobe Stock, buyer browse search grid. Your cover sit next to 40 other covers. 16:9 give room for title, subtitle, visual breathing space.
`pack_product.py` take three args:
python pack_product.py my-product "My Product" "A short subtitle" 9
Arg 4 is `9`. That is the font size factor. Bigger number, bigger title text on cover. I use 9 for short titles, 7 for long ones. Pillow render the text. No external font file. Default PIL font. Works on 1 vCPU, 2 GB RAM box.
Cover write to `_system/my-product-cover.jpg`.
## What the thumbnail does
Thumbnail is the small square. Platform use it in account dashboard, product list, some search contexts. 600×600 exact. Not 599. Not 601. Some platforms auto-crop if you send wrong size. Auto-crop cut off your title. Reject or ugly listing.
Thumbnail write to `_system/my-product-thumb.jpg`.
Both images generated from same source cover art. Script center-crop source to square for thumbnail. No distortion. Aspect ratio preserved.
## The zip is separate concern
`pack_product.py` also write `my-product.zip`. That zip hold the actual sellable files: the vectors, stickers, templates. Cover and thumbnail never go inside the zip. They are listing assets, not product assets.
This separation matter. First version of my pipeline put cover inside zip. Platform reject. "Unexpected file in archive." Now zip contain only product files. Cover and thumb sit next to zip in `_system/`.
## Why one script, not three
Could write three scripts. Cover script. Thumbnail script. Zip script. I did that first. Three failure points. Three places to forget a size constant. Three cron jobs.
One script, one run, three outputs. Fewer moving parts on a 2 GB server. `resource.getrusage(RUSAGE_SELF).ru_maxrss` show peak memory under 180 MB for a 50 MB product folder. One process at a time. `gc.collect()` after each asset. No parallel fan-out.
## The real cost of wrong sizes
Every reject cost time. Not money, time. Resubmit queue on Adobe take days. Vecteezy take days. Dreamstime take days. One wrong size means that product earn nothing for a week. Multiply by 100 products. That is the hidden cost.
My first 39 products used this script. 856 MB of output. Zero size rejects after fix. The fix was not clever. It was exact constants and one render function.
## What I skipped
No EXIF metadata on cover or thumb. Platform do not need it. No color profile conversion. sRGB default from Pillow is fine for these platforms. No retina 2x renders. Marketplace previews do not use them.
Add those when a platform explicitly rejects for color profile. None have yet.
## The honest pointer
This post explain one script. The full system, digital asset factory, include this script plus three others: `make_metadata.py` for exact Adobe 5-col, Vecteezy 4-col, Dreamstime 15-col CSV headers; `upload_tracker.py` to prevent double-posting; `md2pdf.py` for doc products. All four ran on 1 vCPU, 2 GB RAM, no GPU. 1,860 assets made. 1,077 ready or submitted. First sale $2.80.
[Get digital asset factory](https://revanzart-shop.revanzart.workers.dev/go/digital-asset-factory?src=devto)
Building digital products? Free guides & kits for digital product sellers.
📰 Read the original article on Dev.to AI
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.