Palettum recolors images, GIFs, and videos with a custom palette using either a web app or command-line tool.
resdet
Use resdet, a command-line tool, to detect the source resolution of images and videos that have been upscaled.

About resdet
resdet is a command-line tool and C library that attempts to detect upscaling in images or video frames and identify the original resolution. It can be used via the command line, as a library with resdet.h and libresdet, and has an online version. It includes Python and JavaScript bindings and built-in readers for PFM, PGM, and Y4M.
Filtering and compression artifacts can harm accuracy, and results depend on using images as close to the source as possible. Detection can be more accurate when performed in the same colorspace the image was resized in.
Key features
- Detect source resolution of upscaled images and videos
- Check for upscaling with quiet verification mode
- Analyze video frames by offset and frame count
- Use as C library with resdet.h and libresdet
- Offers Python and JavaScript bindings via Emscripten
- Read PFM, PGM, and Y4M without external dependencies
- Provides command-line tool, C library, and online version
- Works standalone with built-in PFM, PGM, and Y4M readers
- Supports loaders via libpng, libjpeg, MagickWand, and FFmpeg
- Filtering and compression artifacts can significantly harm accuracy
- Requires clear, detailed images close to the source for best results
- Accuracy may depend on matching the original resize colorspace
resdet at a glance
- Website
- github.com/0x09/resdet
- Category
- Design & Creative › Image Creation & Editing
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Not stated
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
resdet alternatives
Tools and sites you could use instead, ranked by how closely they match.
Rembg removes backgrounds from images through a command-line tool and software library.
Convert animated GIFs into animated SVGs with FrameSVG through its web app, command-line tool, or Python library.
Use Gifsicle from the command line to work with animated GIFs, with source code and documentation available.
Popular in Image Creation & Editing
Well-known listings from the same topic.
resdet FAQ
How does resdet detect the original resolution?
How can I get more accurate results?
How should I test video?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.









