raw2jpg

Convert camera RAW files (ARW, CR2, CR3, NEF, RAF, ORF, DNG, and 10+ more formats) to JPEG with quality and resize controls. Use this skill when the user wants to convert RAW photos, batch process camera files, resize RAW images, or export RAW files as JPEG. Also activate when the user mentions ARW, CR2, NEF, DNG, or any camera RAW format and wants to convert, compress, or resize them.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "raw2jpg" with this command: npx skills add sei0/raw2jpg/sei0-raw2jpg-raw2jpg

raw2jpg

CLI tool for batch converting camera RAW files to JPEG. Runs via npx — no global install needed.

When to Use

  • User has camera RAW files (ARW, CR2, CR3, NEF, RAF, ORF, DNG, etc.) and wants JPEG output
  • User wants to batch convert an entire directory of RAW photos
  • User needs to resize or compress RAW photos for web, sharing, or archival
  • User mentions any camera RAW format and wants to convert it

Command

npx raw2jpg [options] <input>

<input> is a file path or directory. When given a directory, all RAW files inside (including subdirectories) are converted.

Options

OptionDescriptionDefault
-o, --output <dir>Output directory./jpg_output
-q, --quality <n>JPEG quality 1-10090
-s, --size <preset>original, 4k, 2k, hd, fhdoriginal
-w, --width <n>Max width in px (keeps aspect ratio)
--height <n>Max height in px (keeps aspect ratio)
-c, --concurrency <n>Files to convert in parallelCPU cores
--overwriteOverwrite existing output filesfalse
--dry-runPreview without writing filesfalse
-v, --verboseShow detailed logsfalse

Size Presets

  • original — no resize
  • 4k — longest edge 3840px
  • 2k — longest edge 2048px (good for web/SNS)
  • hd / fhd — longest edge 1920px

--size and --width/--height cannot be combined.

Supported RAW Formats

ARW (Sony), CR2/CR3 (Canon), NEF/NRW (Nikon), RAF (Fujifilm), ORF (Olympus), RW2 (Panasonic), PEF (Pentax), SRW (Samsung), DNG (Adobe), 3FR (Hasselblad), KDC/DCR (Kodak), ERF (Epson), RWL (Leica), RAW (generic).

Examples

# Convert all RAW files in a folder
npx raw2jpg ./photos

# 2K resize with 85% quality to a specific output folder
npx raw2jpg ./photos --size 2k -q 85 -o ./exports

# Convert a single file
npx raw2jpg ./DSC05728.ARW

# Preview what would be converted
npx raw2jpg ./photos --dry-run

Requirements

  • Node.js >= 18
  • macOS: No extra setup — uses built-in sips
  • Linux/Windows: Requires dcraw (apt install dcraw or brew install dcraw)

Behavior Notes

  • Output files are always .jpg
  • Existing files are skipped unless --overwrite is passed
  • If a single file fails, the rest of the batch continues; failures are reported at the end
  • Progress bar is shown during batch conversion
  • Completion summary includes file count, total size, and compression ratio

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

ll-feishu-audio

飞书语音交互技能。支持语音消息自动识别、AI 处理、语音回复全流程。需要配置 FEISHU_APP_ID 和 FEISHU_APP_SECRET 环境变量。使用 faster-whisper 进行语音识别,Edge TTS 进行语音合成,自动转换 OPUS 格式并通过飞书发送。适用于飞书平台的语音对话场景。

Archived SourceRecently Updated
General

test_skill

import json import tkinter as tk from tkinter import messagebox, simpledialog

Archived SourceRecently Updated
General

51mee-resume-profile

简历画像。触发场景:用户要求生成候选人画像;用户想了解候选人的多维度标签和能力评估。

Archived SourceRecently Updated
General

51mee-resume-parse

简历解析。触发场景:用户上传简历文件要求解析、提取结构化信息。

Archived SourceRecently Updated