COLORS
ЗАГРУЗИТЬ
ФАЙЛ
Ожидание файла...
Ожидание файла...
Tool guide
Inversion is plain arithmetic on pixels: a red value of 20 becomes 235, a white sheet turns black, and a blue sky comes out orange. It is the quick way to read a scanned film negative, flip a dark diagram into something printable, sanity-check the contrast of a layout, or build a deliberately acid-looking cover. The file is read with FileReader and drawn into a canvas on your own machine, then saved as a PNG at exactly the original pixel size. See also: desaturate the photo to grey tones, push the negative to high-contrast black and white, pull the colour palette out of an image.
Load the exported PNG again and invert it a second time. Since the operation is 255 minus the value, it is its own inverse and the numbers return exactly. One caveat: if the source was a JPG, its compression artefacts were baked in during the first pass and they stay in the round-trip result.
The alpha channel is left alone. The loop walks the R, G and B bytes and skips every fourth one, so transparent pixels stay transparent and semi-transparent edges keep their opacity while only their colour flips. A cut-out logo stays cut out instead of gaining a black or white plate.
A film negative carries an orange base mask and a different tone curve, so a plain RGB inversion comes out cold and bluish rather than looking like a lab scan. Getting a believable positive needs a white-balance and curves pass in a photo editor afterwards; this page performs only the arithmetic.
Not one imposed by the site. The ceiling is tab memory: the picture expands into a canvas at four bytes per pixel, so a 6000×4000 shot occupies roughly 96 MB before the export even starts. Desktops handle that fine; an older phone may drop the tab, so downscale first.
Often yes, when the source was a JPG, because the export is always lossless PNG and photographic content is far heavier that way. For screenshots, diagrams and flat graphics the difference is small: inversion does not change how many distinct colours the image contains, so it packs about the same.
Nowhere. The page issues no network request carrying the file. Reading via FileReader, the pixel pass in canvas and the data-URL download link all happen inside your tab, so once the page has loaded the tool keeps working with the network switched off.
Yes, in mobile Chrome and Safari. Tapping the upload area opens the gallery or file manager, the preview scales to the screen, and the PNG lands in downloads. Note that an iPhone may hand over a HEIC file, which some browsers refuse to draw — convert it to JPG first.
Before: negative-scan.jpg — orange mask, shadows appear light
After: inverted_image.png — a normal positive, ready for a white-balance pass
Before: architecture-dark.png — white lines on near-black
After: inverted_image.png — dark lines on light, far less toner burned
Your rating and feedback help decide what to improve next.