AGENT SKILL

nejm-figure-guide

NEJM figure preparation: resolution (300-1200 DPI), editable vector formats (AI/EPS/SVG), in-house medical illustration policy, and strict image integrity requirements.

License 许可
CC-BY-4.0
所属仓库
bg-szy/TOP-SKILLS
最近更新
2026-11-15
Stars
★ 6
Forks
0

01 前言 Front Matter

name
nejm-figure-guide
license
CC-BY-4.0
metadata
{ "authors": "HITS", "version": "1.0" }
description
NEJM figure preparation: resolution (300-1200 DPI), editable vector formats (AI/EPS/SVG), in-house medical illustration policy, and strict image integrity requirements.
compatibility
Python 3.10+, Pillow, Matplotlib

03 SKILL.md 正文

NEJM Figure Preparation Guide

Overview

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


Resolution Requirements

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")
    passed = dpi[0] >= required
    print("PASS" if passed else "FAIL")

    return passed

File Format

Figure Type Preferred Format Notes
Data visualizations (graphs, plots, diagrams) AI, EPS, SVG Editable vector files preferred
Photographic images TIFF High-resolution raster
Medical illustrations Do NOT submit NEJM illustrators create these

Submission Options

  • Figures can be inserted in text files (preferred) or uploaded separately

Medical Illustration Policy

IMPORTANT: NEJM's in-house medical illustrators will work directly with authors to create medical illustrations. Authors should NOT submit finished illustrations due to copyright considerations. The journal retains copyright on illustrations created by their team.


Figure Size and Dimensions

NEJM does not publish detailed size specifications in their public guidelines. General best practices:

  • Size figures appropriately for the intended column layout
  • Ensure all text is legible at final print size
  • Follow standard medical journal conventions

Color Mode

  • No explicit RGB/CMYK mandate in published guidelines
  • Follow standard practice: submit in RGB for online; journal handles print conversion

Font Requirements

Element Specification
Preferred style Sans-serif
Historical font Univers (NEJM house font)
Alternatives Helvetica, Arial
  • Ensure all text is legible at final reduction size
import matplotlib.pyplot as plt

def set_nejm_fonts():
    """Configure Matplotlib for NEJM figure fonts."""
    plt.rcParams.update({
        'font.family': 'sans-serif',
        'font.sans-serif': ['Univers', 'Helvetica', 'Arial'],
        'font.size': 8,
        'axes.labelsize': 8,
        'axes.titlesize': 8,
        'xtick.labelsize': 7,
        'ytick.labelsize': 7,
        'legend.fontsize': 7,
    })

Labeling Conventions

Images in Clinical Medicine

  • Title: maximum 8 words
  • Legend: maximum 150 words

Patient Privacy

  • All patient-identifying information must be removed from images
  • This includes faces, names, medical record numbers, and any other identifiable information
def check_clinical_image_text(title, legend):
    """Validate text limits for NEJM Images in Clinical Medicine."""
    title_words = len(title.split())
    legend_words = len(legend.split())

    issues = []
    if title_words > 8:
        issues.append(f"Title has {title_words} words (max 8)")
    if legend_words > 150:
        issues.append(f"Legend has {legend_words} words (max 150)")

    if issues:
        for issue in issues:
            print(f"ISSUE: {issue}")
    else:
        print(f"PASS: Title ({title_words} words), Legend ({legend_words} words)")

    return len(issues) == 0

Image Integrity and Manipulation Policy

PROHIBITED

  • Enhancing, obscuring, moving, removing, or introducing any specific feature within an image

REQUIRED

  • Brightness, color, and contrast adjustments must be applied uniformly to the entire image
  • Adjustments must not misrepresent any features of the original image

Best Practices

  • Maintain original unprocessed image files
  • Document all processing steps
  • Be prepared to provide raw data upon request

Python Quick Start: Full Validation

from PIL import Image
import os

def validate_nejm_figure(image_path, image_type='photo', stage='final'):
    """Full validation of a figure against NEJM requirements."""
    img = Image.open(image_path)
    issues = []

    # 1. Resolution check
    min_dpi = {'lineart': 1200, 'photo': 300}
    required = min_dpi.get(image_type, 300)
    if stage == 'review':
        required = 150
    dpi = img.info.get('dpi', (72, 72))
    if dpi[0] < required:
        issues.append(f"Resolution {dpi[0]} DPI below {required} DPI for {image_type} ({stage})")

    # 2. Color mode
    if img.mode not in ('RGB', 'RGBA', 'L'):
        issues.append(f"Color mode {img.mode} may not be ideal; use RGB or Grayscale")

    # 3. Format check
    fmt = img.format
    vector_preferred = image_type != 'photo'
    if vector_preferred and fmt and fmt.upper() in ('JPEG', 'PNG'):
        issues.append(f"Data visualizations: prefer vector format (AI, EPS, SVG) over {fmt}")

    # Report
    print(f"=== NEJM Figure Validation ({stage}) ===")
    print(f"Dimensions: {img.size[0]} x {img.size[1]} px")
    print(f"DPI: {dpi[0]} x {dpi[1]}")
    print(f"Color mode: {img.mode}")

    if issues:
        print(f"\nISSUES FOUND ({len(issues)}):")
        for issue in issues:
            print(f"  - {issue}")
    else:
        print("\nAll checks PASSED")

    print("\nREMINDER: Do NOT submit finished medical illustrations (NEJM creates these)")
    print("REMINDER: Remove ALL patient-identifying information from images")

    return len(issues) == 0

Key Concepts

In-House Medical Illustration

NEJM's most distinctive policy is that medical illustrations are created by their in-house illustrators working directly with authors. Authors should NOT submit finished medical illustrations. The journal retains copyright on illustrations created by their team. This applies only to medical illustrations — data visualizations and photographs are author-submitted.

Two-Stage Resolution Requirements

NEJM accepts lower-resolution figures during peer review to reduce submission friction. However, final publication requires full resolution: 1,200 DPI for line art and 300 DPI for photographs. Authors should prepare high-resolution originals from the start to avoid rework.

Patient Privacy in Clinical Images

NEJM enforces strict patient privacy requirements. All patient-identifying information must be removed from images, including faces, names, medical record numbers, and any other identifiable features. This is non-negotiable and applies to all clinical images regardless of consent status.

Decision Framework

What type of figure are you preparing?
├── Medical illustration (anatomy, mechanism)
│   └── Do NOT submit → NEJM illustrators create these
├── Data visualization (graph, chart, diagram)
│   ├── Vector source available → AI, EPS, or SVG (preferred)
│   └── Raster only → TIFF at 1,200 DPI (line art) or 300 DPI (photo)
├── Clinical photograph
│   ├── Patient identifiable? → Remove ALL identifying information
│   └── Ready for submission → TIFF at 300+ DPI
└── What stage?
    ├── Peer review → Lower resolution acceptable
    └── Final publication → Full resolution required
Scenario Format Resolution Special Considerations
Kaplan-Meier curve AI, EPS, SVG Vector Editable format preferred
Clinical photograph TIFF 300+ DPI Remove patient identifiers
Histology image TIFF 300+ DPI Include scale bar
Flowchart or diagram AI, EPS, SVG Vector Use Univers or Helvetica
Medical illustration Do NOT submit N/A NEJM creates in-house
Images in Clinical Medicine TIFF/JPEG 300+ DPI Title max 8 words, legend max 150 words

Best Practices

  1. Submit data visualizations as editable vector files: NEJM prefers AI, EPS, or SVG for graphs and diagrams. Vector formats allow their production team to make typographic adjustments
  2. Do not submit finished medical illustrations: NEJM's in-house illustrators will create these. Submit reference sketches or descriptions instead
  3. Remove all patient-identifying information: Strip faces, names, record numbers, and any identifiable features from clinical images before submission
  4. Prepare high-resolution originals early: Although peer review accepts lower resolution, having 300+ DPI originals ready prevents delays during final production
  5. Use Univers or Helvetica fonts: NEJM's house font is Univers; Helvetica and Arial are acceptable alternatives. Ensure all text is legible at final reduction size
  6. Respect word limits for Images in Clinical Medicine: Titles must be 8 words or fewer; legends must be 150 words or fewer
  7. Maintain original unprocessed files: NEJM may request raw data at any point during review or after publication

Common Pitfalls

  1. Submitting finished medical illustrations: NEJM retains copyright on illustrations they create. Submitting finished artwork creates copyright conflicts
    • How to avoid: Provide reference sketches, descriptions, or rough drafts; NEJM illustrators will create the final version
  2. Leaving patient-identifying information in images: Any identifiable features in clinical images can result in rejection and ethical concerns
    • How to avoid: Review all clinical images for faces, names, ID numbers, and other identifiers; blur or crop as needed
  3. Using raster formats for data visualizations: JPEG or PNG graphs lose editability and may appear pixelated at print size
    • How to avoid: Export charts and diagrams as AI, EPS, or SVG from your plotting software
  4. Submitting low-resolution line art: Line art requires 1,200 DPI — significantly higher than the 300 DPI for photographs
    • How to avoid: Export line art at 1,200 DPI or use vector formats that are resolution-independent
  5. Exceeding word limits for clinical image submissions: Images in Clinical Medicine has strict limits (8-word title, 150-word legend)
    • How to avoid: Count words before submission; move detailed descriptions to supplementary text if needed

Pre-Submission Checklist

Before submitting figures to NEJM, verify:

  • [ ] Line art at 1,200+ DPI
  • [ ] Photographs at 300+ DPI (lower OK for peer review only)
  • [ ] Data visualizations in editable vector format (AI, EPS, SVG)
  • [ ] Photographs in TIFF format
  • [ ] Medical illustrations: NOT submitted (NEJM creates these in-house)
  • [ ] Sans-serif font used (Univers, Helvetica, or Arial)
  • [ ] All text legible at final print size
  • [ ] Images in Clinical Medicine: title ≤ 8 words, legend ≤ 150 words
  • [ ] All patient-identifying information removed
  • [ ] Adjustments applied uniformly to entire image
  • [ ] No selective enhancement of image features
  • [ ] Original unprocessed data retained

References

04 同仓库更多 Skills

bg-szy
bg-szy/TOP-SKILLS

serpmaven

Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.

★ 6
bg-szy
bg-szy/TOP-SKILLS

revnu-landing-page-audit

Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: "audit my landing page", "why isn't this page converting", "review my homepage", "my ads get clicks but no signups", "people bounce from the pricing page", "CRO review", "improve conversion rate", "is my hero section clear", "roast my landing page", "rewrite my headline", "what's wrong with this page", "landing page feedback", "make the signup page convert better". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.

★ 6
bg-szy
bg-szy/TOP-SKILLS

revnu-growth-context

Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents/revnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says "set up our marketing context", "who is our ideal customer", "write our ICP", "describe the product for marketing", "positioning doc", "what's our brand voice", "remember this about our customers", "log what we tried", "what have we learned from marketing", "we changed pricing, update the context", "update our growth notes", "summarize the business for the agent", "import my product-marketing.md", "start a growth doc", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.

★ 6
bg-szy
bg-szy/TOP-SKILLS

revnu-get-listed

Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: "best X" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says "get us listed", "which directories should we submit to", "how do we get into best-of lists", "why does ChatGPT recommend competitors and not us", "get mentioned in AI answers", "submit to awesome lists", "get on G2", "where are our competitors listed", "pitch listicle authors", "find backlink opportunities", "launch directories", "get into roundups", "Product Hunt alternatives", "where should we be listed", "get cited by Perplexity". Never submits, pays or posts without a yes. Works without a Revnu account.

★ 6
bg-szy
bg-szy/TOP-SKILLS

revnu-ai-readiness-audit

Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks "is my site ready for AI search", "audit my site for AI answers", "AEO audit", "GEO audit", "why doesn't ChatGPT quote our pricing", "make our pages citable by AI", "do I need llms.txt", "does schema help with ChatGPT", "check our structured data", "is our content visible without JavaScript", "AI SEO audit", "optimize our homepage for AI answers", "LLM SEO check", "why does AI get our product wrong", "fix our site for AI Overviews". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.

★ 6
bg-szy
bg-szy/TOP-SKILLS

proxy-troubleshooting

Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.

★ 6