Skip to content

TGA to CR2 Converter

Convert TGA to CR2 in your browser. You download a Linear DNG (.dng), not a .cr2: only a Canon camera can create a genuine CR2, and every editor that opens CR2 also opens DNG. Nothing is uploaded.

  • Processed locally
  • No upload, no wait
  • No sign-up
  • No watermark

Drop images here

or choose files · paste with Ctrl/⌘ V

TGA expected · other image formats also work

Files are processed on this device. Nothing is uploaded.0 B uploaded

How to use TGA to CR2

  1. 1

    Add your TGA files: drop them here, choose them, or paste from the clipboard.

  2. 2

    Pick the colour that replaces transparent areas, since DNG has none.

  3. 3

    Click Convert. Each file is decoded and encoded in a background thread on this device.

  4. 4

    Download the .dng files one at a time or together as a ZIP.

Why use Aback Images for tga to cr2

Where a CR2 would go

CR2 files are opened by Canon Digital Photo Professional, Lightroom, Photoshop Camera Raw, Capture One and darktable, and every one of them opens the DNG too.

DNG next to TGA

Neither format compresses much, so the DNG lands close to the TGA in size.

Written without a lossy pass

The DNG is written uncompressed, so the pixels decoded from the TGA arrive unchanged.

Processed on your device

Your images are decoded, edited and encoded inside this browser tab by Web Workers. Nothing is uploaded to a server.

TGA vs CR2

What changes from TGA to CR2

Encoding: the TGA uses uncompressed or run-length encoded (RLE); CR2 uses lossless JPEG-compressed sensor data, cut into vertical slices, and the download is a Linear DNG: demosaiced 8-bit RGB with the colour matrices raw editors need.

Bit depth: 8, 15, 16, 24 or 32 bits per pixel in the TGA; CR2 allows 12 or 14 bits per channel, and the DNG written here has 8 bits per channel, linearised.

Colour: RGB, greyscale or a colour map in the TGA; CR2 supports camera RGB from a Bayer mosaic, with the Picture Style recorded in the maker notes, written here as 8-bit sRGB.

Transparency: the TGA stores it as the fourth byte of each 32-bit pixel (or one bit in 16-bit files); the DNG has none, so transparent areas are filled with the colour you choose.

Metadata: the TGA can carry an image ID field and an optional extension area with author and date; CR2 can carry EXIF, Canon maker notes (Picture Style, lens, focus points) and the embedded previews, but nothing is copied across.

About TGA

TGA is a simple raster format still widely used for game textures and 3D rendering pipelines because it stores alpha channels reliably and loads fast.

A TGA has an 18-byte header (ID length, colour map type, image type 2 for true colour or 10 for RLE, origin, size, bits per pixel and a descriptor byte whose bits give the alpha depth and whether rows run top-down), then the pixels; version 2 files end with a 'TRUEVISION-XFILE' footer.

TGA files usually come from game engines, 3D renderers and texture painting tools.

About CR2

CR2 is the raw format of Canon EOS cameras from 2004 until CR3 replaced it in 2018. It holds the sensor's 12 or 14-bit readings, losslessly compressed, plus a large JPEG preview rendered with the camera's Picture Style.

CR2 is TIFF-based: the TIFF header is followed by the letters 'CR' and version 2.0, then four image directories: a large JPEG preview with the EXIF block, a 160×120 thumbnail, a small uncompressed RGB image, and the sensor data as lossless JPEG cut into vertical slices.

CR2 files come from Canon EOS DSLRs made from 2004 to 2018, such as the 5D Mark II and III, 6D, 7D and the Rebel series.

When converting TGA to CR2 makes sense

Forms and workflows that ask for CR2 usually feed a raw editor, and each of those opens DNG as well, so the DNG can take the CR2's place. Keep the TGA if you only need to view or share the picture.

What CR2 offers when it comes straight from the camera: Large embedded JPEG rendered with the camera's Picture Style; Lossless 12 or 14-bit sensor data; Widely supported after fourteen years of Canon DSLRs. Its drawbacks: Replaced by CR3 in 2018, so current Canon bodies no longer write it; 20 to 50 MB per photo; Sliced lossless JPEG data that only raw decoders can read.

Limitations

  • Some writers store rows bottom-up and some top-down; the descriptor byte says which, and the decoder follows it, so orientation is preserved.
  • Game textures often hide data in the alpha byte (gloss or height); a target without transparency discards it.
  • The DNG holds the decoded 8-bit pixels, so it adds no dynamic range or detail beyond the TGA.

Frequently asked questions

Why do I get a .dng file instead of a .cr2?

A real CR2 is written by Canon cameras and holds the sensor's own readings (12 or 14 bits per channel, stored as lossless JPEG-compressed sensor data, cut into vertical slices) along with EXIF, Canon maker notes (Picture Style, lens, focus points) and the embedded previews. A TGA holds no sensor data, so no software outside the camera can create a genuine CR2. The Linear DNG you get instead is Adobe's open raw format, and every editor that opens CR2 files opens it with the same raw controls. It holds decoded pixels, so it adds no quality or dynamic range.

Does converting TGA to CR2 lose quality?

DNG is written uncompressed, so the pixels are stored exactly as decoded.

What happens to transparency when converting TGA to CR2?

TGA stores transparency as the fourth byte of each 32-bit pixel (or one bit in 16-bit files). DNG has no alpha channel, so transparent pixels are composited onto a solid colour, white unless you pick another. To keep transparency, convert to PNG, WebP or AVIF instead.

Are my images uploaded anywhere?

No. Processing happens inside your browser with WebAssembly and Web Workers. The site only downloads the app code and codecs; your files never leave your device. You can confirm this with the live upload counter on the tool, or in your browser's network panel.

Can I process many files at once?

Yes. Drop a whole selection or folder. Files are processed in parallel on several worker threads, each result can be downloaded on its own, and everything can be saved as one ZIP.

Is it free? Is there a file limit or watermark?

It is free with no account, no watermark and no daily limit. The only limit is your device's memory: very large images (over roughly 100 megapixels) may be refused to keep the tab from crashing.