Practical guide
Image colours, formats and dimensions — choosing a tool
Changing colour notation differs from converting a photo file or calculating dimensions. This guide helps you choose one of eight tools, retain the original and avoid treating conversion as quality enhancement, print preparation or removal of every sensitive detail.
WebP, aspect ratios and print dimensions
WebP-to-JPG and JPG-to-WebP run locally with the same file caps as JPG/PNG. WebP must be static; animation, unknown chunks and structural inconsistencies are rejected. JPG needs a background for alpha. WebP does not guarantee smaller files, and quality 100 does not promise losslessness. If the browser cannot encode WebP, an error is shown rather than PNG with a misleading extension. Keep the original.
The aspect-ratio calculator reduces width and height by their GCD and gives the new other side rounded to a pixel. It does not resize files. The DPI/PPI calculator relates pixels and lengths through exact 1 inch = 2.54 cm. Image PPI is not printer DPI. For 3000 × 2000 px at 300 PPI, output is 25.4 × 16.933333 cm. Different aspect ratios produce two densities rather than an automatic crop choice. No EXIF reading or metadata editing occurs; agree requirements with the print shop.
Colour notation versus a print model
RGB describes red, green and blue channels. Our tool uses integer sRGB channels from 0 to 255. HEX expresses them in hexadecimal: RGB (0,255,136) is #00FF88, and shorthand #0F8 denotes the same value. Both directions share one form because they do not change colour space. Alpha, colour names and percentage RGB are unsupported.
CMYK describes cyan, magenta, yellow and black. A simple formula maps red RGB (255,0,0) to C=0%, M=100%, Y=100%, K=0%, but does not characterize a particular press, paper or ink. Other combinations can yield the same model RGB. Agree on ICC profile, ink limits and document requirements with the print shop; a display preview is not a colour proof.
JPG and PNG: quality and transparency
Renaming .jpg to .png does not convert pixels. The tool decodes a file and encodes a new one with Canvas. JPG to PNG cannot undo earlier compression artefacts and may substantially increase file size. Dimensions are retained after orientation, though a 90° rotation can swap width and height. There is no automatic cropping, resizing or photo repair.
PNG to JPG needs a background because JPG cannot retain alpha. The default is white #FFFFFF; you can enter another opaque HEX colour. Semitransparent edges blend into it. Quality 90 means the browser encoder receives parameter 0.9, not a promise of 90% fidelity or a particular kilobyte count. Review both preview and downloaded file before replacing the original.
Limits, metadata and privacy
We process one file up to 15 MiB, 8192 pixels per side and 12,000,000 pixels overall. Output is capped at 50 MiB. Independent limits protect memory: a small compressed file can decode to a very large image. PNG must be static; APNG is rejected. JPG must be 8-bit baseline or progressive grayscale or RGB, not CMYK or MPO. Extension and declared MIME are not substitutes for header inspection. A corrupt image may still fail browser decoding.
Pixels are read locally and files are not sent to a server or analytics. Canvas does not transfer original EXIF, GPS, descriptions and profiles as archival metadata; the browser applies its own orientation and colour handling. The photograph itself can still show a face, document or address. Reset clears the form and preview, not files already downloaded. There is no localStorage/sessionStorage history or file saving without a download action. Retain the original and use a synthetic example for issue reports.
Frequently asked questions
Will the CMYK model prepare print colours?
No. Without ICC profile, printing conditions and proof, output is illustrative. Agree on requirements with the print shop.
Does JPG to PNG recover quality?
No. Changing format cannot recover detail previously lost in JPG. File size can increase.
Does reset remove downloaded files?
No. Reset clears the form, preview and temporary output link, not copies saved on your device.
Sources and scope
File conversion depends on browser encoders and decoders. CMYK without ICC is an illustrative model, not a print specification. Retain the original, check output in its destination application and do not use conversion as certified data sanitization. Limits are project choices.
- W3C — sRGB, RGB and HEX notation
- W3C — device-dependent CMYK and RGB approximation
- W3C — PNG, transparency, structure and APNG
- ITU-T T.81 — JPEG standard
- MDN — Canvas toBlob, format and encoding quality
- MDN — createImageBitmap, orientation and colour
- Google — WebP container, structure and animation
- W3C — inches, centimetres and millimetres
Tools covered by this guide
RGB and HEX converter
Convert RGB to HEX or HEX to RGB and preview an opaque sRGB colour.
RGB and CMYK converter
Convert RGB and CMYK using a simple model without ICC profiles. Output is approximate, not print-ready.
JPG to PNG converter
Convert JPG to PNG locally, keeping dimensions after orientation.
PNG to JPG converter
Convert a static PNG to JPG locally. Choose quality and a transparency background.
WebP to JPG converter
Convert WebP → JPG in your browser, inspect the preview and download a real file without uploading your photo.
JPG to WebP converter
Convert JPG → WebP in your browser, inspect the preview and download a real file without uploading your photo.
Image aspect ratio calculator
Reduce a width-to-height ratio and calculate the other side for a new dimension.
Image DPI and PPI calculator
Calculate print dimensions, required pixels or effective PPI on both axes.