Convert CR2 to PNG

Converting CR2 to PNG extracts the JPEG your Canon embedded in the raw file and re-encodes it losslessly as a PNG. That is worth doing when something downstream will only accept PNG. It is worth knowing that the result is several times the size of the equivalent JPG and contains exactly the same picture, because the source was already compressed.

  • Where it runs In your browser. The file is never uploaded.
  • Lossy Some detail is traded for size. PNG cannot hold everything a CR2 can.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing This extracts the preview your camera wrote when it took the photograph, at full resolution on almost every camera. It is the camera’s own rendering, so its picture style is baked in and the extra highlight and shadow latitude that is the reason to shoot raw is not in it. Perfect for viewing, sending or uploading; not a substitute for developing the file.

Up to 100 files at once. Mixed formats are fine.

The lossless promise PNG cannot keep on a raw file

PNG is genuinely lossless: what goes in comes out pixel for pixel. The catch on this pair is what goes in. A CR2 is not opened by demosaicing the sensor grid here — the converter finds the finished JPEG Canon wrote inside the file at capture and works from that. So the PNG is a lossless copy of a lossy original.

That is not a trick, it is arithmetic. Detail the camera’s JPEG encoder discarded is gone before PNG ever sees the picture, and no lossless container can put it back. What PNG does give you is a guarantee that nothing further is lost from this point on, which matters if the file is about to be edited and saved repeatedly, and matters not at all if it is going to be looked at once.

Doing the arithmetic on a 30-megapixel Canon PNG

A 5D Mark IV frame is around 6,720 by 4,480 pixels — 30 million of them. At three bytes per pixel that is roughly 90 MB before any compression, and PNG’s compression works by finding repetition, which photographs contain very little of. Expect the output somewhere between 40 and 70 MB depending on the scene, with a dark, low-detail frame at the bottom of that range and a sunlit landscape full of foliage near the top.

The JPG from the same file would be a few megabytes. If that difference does not buy you something specific — an importer that refuses JPEG, an editing chain where every save would otherwise cost quality — it is a cost with no return, and the CR2 to JPG route is the better one.

When converting CR2 to PNG is genuinely the right call

There are real cases. Some competition and stock submission systems specify PNG and reject everything else. Some scientific and medical imaging pipelines require a format with no lossy step in it, regardless of what the source was. Some older design software has an importer that handles PNG cleanly and JPEG badly. Some print workflows have a house rule and no interest in your reasoning about it.

In all of those the answer is the same: produce the PNG, do not argue with the form, and keep the CR2. What you should not do is convert to PNG because it sounds like the higher-quality option — on this pair it is the same picture in a larger container.

What the PNG drops that the original CR2 still holds

Two things go. The first is everything the sensor recorded beyond the camera’s own rendering: the 14-bit tonal range, the highlight headroom, the ability to reset white balance after the fact. That is in the CR2 and it is not in the extracted preview, so it is not in the PNG either.

The second is the metadata. Making a PNG requires decoding the preview and encoding it again, and the EXIF block does not survive that. The lens, the exposure settings, the capture time and any GPS tag are absent from the output. If you want that information kept, either keep the CR2 alongside or use the JPG route, which passes the preview through without re-encoding it — and there, turn off Remove metadata, because it is on by default and strips the same block.

The transparency PNG offers and a Canon photograph cannot use

PNG’s best-known advantage over JPEG is the alpha channel, and it is irrelevant here. Every pixel in a raw capture was recorded by a photosite and is fully opaque; there is nothing transparent in the file for PNG to carry.

If you need a cut-out — a product on white, a subject on a transparent background — that is a masking job in an image editor after the conversion, not something the conversion can do. The PNG gives you a container capable of holding transparency; it does not create any.

Bit depth: what PNG could store and what it receives

PNG can hold 16 bits per channel, which sounds like a natural home for a 14-bit Canon capture. It is not, because the 14-bit data never reaches the encoder. The embedded preview is an ordinary 8-bit JPEG, so the PNG written from it is 8 bits per channel with no more tonal range than any web image.

A 16-bit PNG that actually carried the sensor’s range would have to come from a raw developer that demosaics the CR2 — Digital Photo Professional, Lightroom, Camera Raw or darktable can export exactly that. That is a different piece of software doing a different job, and it is worth naming rather than implying this page does it.

Where a PNG this size will be refused

Large PNGs run into limits that JPGs never touch. Email attachments commonly cap at 20 or 25 MB. Content management systems frequently reject uploads above 8 or 10 MB by default. Messaging apps re-compress anything large and hand the recipient a worse picture than the JPG would have been.

The free tier here accepts input files up to 100 MB, which every Canon CR2 fits inside comfortably — the constraint is on the output and on whatever you are sending it to. It is worth checking the destination’s limit before converting a batch, because discovering it after producing forty 60 MB files is an annoying way to learn.

Producing PNGs from a folder of Canon captures

Batches work: drop a selection and each file is scanned, extracted and re-encoded in turn, with the finished set available as a ZIP. Re-encoding is real work, though, and PNG compression on a 30-megapixel image is not instant, so a large batch of PNGs takes noticeably longer than the same batch as JPGs.

It also runs entirely on your machine, which is the reason there is no per-file charge and no queue, and the reason a shoot that has not been published yet does not have to be handed to a website first.

A better route than CR2 to PNG when the goal is editing

If PNG was chosen because you intend to work on the picture, the honest recommendation is to skip this page. Open the CR2 in a raw developer, make the exposure and white balance decisions against the sensor data where they are nearly free, and export a TIFF or a 16-bit PNG from there.

This converter exists for the case where that is not available or not worth it — a machine without the software, a file needed in the next ten minutes, a destination that only wants a picture. Within that case it does the job well. Outside it, it produces a large file that a better tool would have produced better.

How to turn Canon CR2 files into PNG

  1. Drop your CR2 files onto this page, or click to choose them.
  2. The embedded preview is extracted and re-encoded as PNG, in your browser.
  3. Download the PNG — expect it to be considerably larger than the JPG would be.

CR2 vs PNG: a raw capture against a lossless raster

CR2 compared with PNG
CR2PNG
Full nameCanon Raw 2Portable Network Graphics
File extension.cr2.png
Media typeimage/x-canon-cr2image/png
CompressionLossless — nothing is discardedLossless — nothing is discarded
First published20041996
Published byCanonPNG Development Group
SpecificationISO/IEC 15948
LicensingProprietaryOpen standard
Standing todayLegacy, still read everywhereCurrent
Bit depth1416
Colour it can describeRGBRGB, greyscale, indexed palette
Largest image2,147,483,647 px per side
Opens in a browserNo browserEvery browser
Considered insteadDNG, TIFF, JPGWebP, SVG, JXL

What is lost

PNG has nowhere to put the GPS coordinates, so that goes no further than the CR2. Worth checking before the original is deleted, and worth knowing if the point was to strip it.

What the target format adds

PNG supports transparency and CR2 does not. That is room the result has and the original never used — converting does not create a transparent background, it only makes one possible afterwards.

Opening the result

PNG opens in every current browser. CR2 has narrower browser support than that. If the file is going onto a web page or into a form, that is usually the whole reason for the conversion.

CR2 dates from 2004 and is largely superseded. PNG is what current software writes, so the conversion is as much about staying readable as about the file itself.

CR2 is a vendor format; PNG is a published specification (ISO/IEC 15948). That matters for anything meant to still open in ten years, when the program that wrote the original may not be around.

The usual programs do not overlap: CR2 opens in Adobe Lightroom, Canon Digital Photo Professional and darktable, PNG in Adobe Photoshop, GIMP and Paint.NET — so whoever receives the result needs something from the second list.

What each format is for

The two are aimed at different work: CR2 at photography and editing, PNG at screenshots, line art and logos and the web. That is worth weighing before converting, because the reason one exists is usually the reason the other is awkward.

CR2 is Canon's format, published in 2004. It comes out of Canon EOS digital SLRs. Underneath it is TIFF, which is why a program that has never heard of CR2 can sometimes still open one.

PNG comes from PNG Development Group and dates from 1996, specified as ISO/IEC 15948. Adobe Photoshop, GIMP and Paint.NET all read it.

CR2 to PNG: the questions that decide whether to bother

Are my CR2 files uploaded anywhere?

No. This conversion runs entirely inside your browser, so the file never leaves your device. You can confirm it yourself: open the network tab of your browser's developer tools and convert something. You will see the page load, plus the analytics and advertising the site is paid for with — and nothing carrying your file. The engine behind this particular pair is a raw preview extractor, which pulls the JPEG the camera already embedded rather than developing the sensor data; your browser fetches it once and caches it.

Does converting CR2 to PNG give better quality than JPG?

No. PNG is lossless, but what it is losslessly preserving is the JPEG your camera embedded in the CR2, and that JPEG was already compressed. PNG cannot restore detail that was discarded before it arrived. You get a much larger file containing the same picture.

How big will the PNG be?

Do the arithmetic. A 30-megapixel frame is 30 million pixels at three bytes each, which is roughly 90 MB uncompressed; PNG typically gets a photograph down to somewhere between half and three-quarters of that. Expect tens of megabytes where the JPG would be single digits.

Does the PNG keep the camera metadata?

No. Producing a PNG means decoding the extracted preview and encoding it again, and metadata does not survive that round trip. Shutter speed, lens, timestamp and any GPS coordinates are all gone from the output.

Will the PNG have a transparent background?

No. A photograph has no transparency to carry — every pixel was recorded by the sensor and is opaque. PNG supports an alpha channel, but there is nothing in a Canon raw file to put in it.

Should I use PNG if I am going to edit the picture?

Only if you must. Editing from PNG stops further generation loss, which is a real benefit, but the file you are editing is still the camera’s 8-bit rendering. If the point is to edit seriously, open the CR2 in a raw developer instead and keep the 14-bit sensor data in play.

Is the CR2 uploaded to convert it?

No. The preview is found and re-encoded in your browser, on your own machine. Nothing about the file is transmitted, which you can verify in the network tab of your browser’s developer tools.

More about these formats

Where these figures come from

The claims this page makes about CR2 and PNG are checkable, and these are the documents that settle them.