
Two photos for Friday’s newsletter arrive with the same name, IMG_0042.HEIC. One shows astronaut Eileen Collins. The other shows a Falcon 9 on its launchpad. The newsletter accepts JPEGs, and its caption sheet assigns a different credit to each picture. Putting both exports in one flat folder would give two different photographs the same delivery name.
To batch convert HEIC to JPG, keep each contributor’s folder, write the JPEGs into a fresh output directory, then reopen them beside the originals. For this delivery, the editor accepts the portrait and returns the rocket caption for a correction. Both image conversions succeeded.
Download the two HEIC originals, reviewed JPEGs, comparison sheet and caption record. Unzip the packet before you begin. Inside originals, the portraits and launches folders each contain one still image. The matching examples in reviewed let you check your own run.
These practice HEICs were made from public-domain archive images. The portrait is a crop of NASA’s photograph of Collins. The launchpad image is credited to SpaceX. The sample newsletter takes its caption and credit from a separate delivery sheet. If your outlet reads an embedded credit instead, check that field in the finished JPEG before handing it over. Portrait source and credit · Launchpad source and credit.
On Windows, open PowerShell in the unzipped folder that contains originals. With ImageMagick 7 installed, check that your build can read HEIC. The first command lists its HEIC entry. Look for an r in the mode column. Our build reported r--, which was enough to read the inputs. If the entry is missing, use a build with the libheif delegate before running the batch. ImageMagick’s supported formats.
magick -list format | Select-String 'HEIC'
Run the following block once from that folder. It makes jpeg-review, then processes the HEIC stills immediately inside each contributor folder. The quality setting of 90 is the setting used for these two JPEGs. Choose your own after comparing a representative photo at the newsletter’s display size.
$ErrorActionPreference = 'Stop'
$out = New-Item -ItemType Directory -Path 'jpeg-review'
foreach ($desk in Get-ChildItem -LiteralPath 'originals' -Directory) {
$dest = New-Item -ItemType Directory -Path (Join-Path $out.FullName $desk.Name)
foreach ($photo in Get-ChildItem -LiteralPath $desk.FullName -File -Filter '*.heic') {
$jpg = Join-Path $dest.FullName ($photo.BaseName + '.jpg')
magick $photo.FullName -auto-orient -quality 90 $jpg
if ($LASTEXITCODE -ne 0) { throw "Conversion failed for $($photo.FullName)" }
}
}
The portrait now lives at jpeg-review/portraits/IMG_0042.jpg and the rocket at jpeg-review/launches/IMG_0042.jpg. The script stops if the output directory already exists or a conversion fails. For another run, give the output folder a fresh name. Keep a partial batch out of the upload queue until you have accounted for every selected input.
Accept the portrait. Open the HEIC portrait and the JPEG side by side. In both, Collins is upright, her head is at the top, and the same portion of her orange suit and helmet is visible. The JPEG is 400 × 500 pixels. Its row in delivery-sheet.csv identifies “Astronaut Eileen Collins” and credits NASA.
Correct the launch caption. The 640 × 427 JPEG retains the wide frame, the towers and the blue sky. The suggested caption says the rocket launches. Look at the base of the vehicle. It is still standing on the pad. Hold that caption. The corrected line is “Falcon 9 on the launchpad before the DSCOVR mission,” credited to SpaceX. The image and corrected caption can go together.
Use the full paths when signing off. If the CMS puts uploads into a single folder, give the release copies distinct names such as collins-portrait.jpg and dscovr-on-pad.jpg and update the sheet before uploading. Hold any loose IMG_0042.jpg until you can match the picture to its row.
Suppose Friday’s newsletter has a 320-pixel-wide slot and the picture desk allows 10,000 bytes for this photo. The corrected caption says Falcon 9 is on the launchpad. At that width, can you still see where the rocket meets the pad?
We exported two 320 × 214 JPEGs from the same launchpad HEIC, starting from the original each time. At ImageMagick quality 90, the file was 19,128 bytes. At quality 65, it was 6,897 bytes. Download both JPEGs to compare them at 320 pixels wide.
Choose falcon-320-q65.jpg for this slot. In our local preview, some of the tower lattice looked softer, but the base of the rocket was still visible where it meets the pad. The quality-90 copy exceeds this desk’s allowance. If the detail your caption depends on disappears, hold the image and try a different crop or photo.
Before uploading, add falcon-320-q65.jpg to the launchpad row of your delivery sheet. Use the corrected caption “Falcon 9 on the launchpad before the DSCOVR mission” and the credit “SpaceX.” We checked the selected JPEG for location and credit fields. The GPS and place fields covered by that guide were absent, and the inspected credit fields were empty. Enter the caption and credit from the sheet when you place the photo. If your outlet requires an embedded credit, hold the file until that field is present. If you make another copy for upload, repeat the checks on the file you will send.
Use your own template width and per-photo allowance for the next issue. We inspected these two local files. Check the photo again in your email preview if your platform resizes it. If the photo is clickable, check where the newsletter photo takes the reader and confirm it opens the story promised in this issue.
We ran the batch locally on Windows with ImageMagick 7.1.2-36, reopened both JPEGs and inspected them against the decoded HEICs. Both kept their displayed dimensions and framing. The two input files matched their pre-run checksums. The portrait already displayed upright in the source. If a contributor sends a sideways photo, an HDR image, a sequence or a Live Photo, check that case separately. The sample covers ordinary stills and the accompanying caption sheet. It does not establish how a newsletter platform resizes images or carries metadata into the delivered issue.
A workstation handled this pair. If several editions compete for the same weekly deadline, time a typical folder and record its file count, dimensions and conversion time. Separate that time from uploads and picture review. If conversion is what holds up the desk, use the measured batch and the time left before cutoff with the CPU VM buying guide.
Pick one AI, compute, or storage workload and see the difference for yourself. Spin it up in minutes, or let our team map your fastest path to production.