Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Specifies NEJM figure preparation rules: resolution, vector formats, in-house medical illustration policy, and image integrity requirements.
64% 95%+32 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 14 of 22 without it.
3 of 3 safety checks passed
Not used yet
This guide provides the complete specifications for preparing figures for submission to the New England Journal of Medicine (NEJM). A unique feature of NEJM is that medical illustrations are created by NEJM's in-house illustrators working directly with authors — authors should NOT submit finished medical illustrations due to copyright considerations.
Official reference: https://www.nejm.org/author-center/new-manuscripts
| Image Type | Minimum Resolution | Notes |
|---|---|---|
| Black-and-white line art | 1,200 DPI | Highest requirement |
| Photographic / halftone images | 300 DPI | Standard for photographs |
| Peer review stage | Lower resolution acceptable | High-res required for final publication |
from PIL import Image
def check_nejm_resolution(image_path, image_type='photo', stage='final'):
"""Check if image meets NEJM resolution requirements.
Args:
image_type: 'lineart' (1200 DPI) or 'photo' (300 DPI)
stage: 'review' (lower OK) or 'final' (strict requirements)
"""
min_dpi = {'lineart': 1200, 'photo': 300}
required = min_dpi.get(image_type, 300)
if stage == 'review':
print("NOTE: Lower resolution acceptable for peer review")
required = 150 # relaxed for review
img = Image.open(image_path)
dpi = img.info.get('dpi', (72, 72))
print(f"Stage: {stage} | Type: {image_type}")
print(f"Required: {required} DPI | Actual: {dpi[0]} DPI")
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.