TGA to RAF Converter
Convert TGA to RAF in your browser. You download a Linear DNG (.dng), not a .raf: only a Fujifilm camera can create a genuine RAF, and every editor that opens RAF 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
How to use TGA to RAF
- 1
Add your TGA files: drop them here, choose them, or paste from the clipboard.
- 2
Pick the colour that replaces transparent areas, since DNG has none.
- 3
Click Convert. Each file is decoded and encoded in a background thread on this device.
- 4
Download the .dng files one at a time or together as a ZIP.
Why use Aback Images for tga to raf
Where a RAF would go
RAF files are opened by Fujifilm X RAW Studio, 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 RAF
What changes from TGA to RAF
Encoding: the TGA uses uncompressed or run-length encoded (RLE); RAF uses uncompressed or lossless compressed sensor data in Fujifilm's own container, 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; RAF allows 12 to 16 bits per channel depending on the camera, and the DNG written here has 8 bits per channel, linearised.
Colour: RGB, greyscale or a colour map in the TGA; RAF supports camera RGB from an X-Trans 6×6 or Bayer 2×2 mosaic, 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; RAF can carry EXIF and Fujifilm maker notes, including the Film Simulation, 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 RAF
RAF is the raw format of Fujifilm cameras, from the X series to the medium-format GFX. Most X-series bodies use an X-Trans sensor with a 6×6 colour filter pattern instead of the usual Bayer 2×2.
RAF is not TIFF at the top level: it opens with the text 'FUJIFILMCCD-RAW', then a header with the camera model and offsets to three blocks: a JPEG preview near the start of the file, a header describing the sensor layout, and the sensor data.
RAF files come from Fujifilm X-T, X-H, X-S, X-E, X100 and GFX cameras.
When converting TGA to RAF makes sense
Forms and workflows that ask for RAF usually feed a raw editor, and each of those opens DNG as well, so the DNG can take the RAF's place. Keep the TGA if you only need to view or share the picture.
What RAF offers when it comes straight from the camera: Film Simulation baked into the embedded JPEG; Lossless compressed option on recent bodies; Large medium-format files from GFX cameras. Its drawbacks: Fujifilm's own container rather than TIFF; X-Trans demosaicing differs between raw editors; Film Simulations need camera-matching profiles in third-party editors.
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.
More conversions
Related tools
Convert RAF to TGA in your browser, made from the full-size preview your Fujifilm camera stored in the file. Batch, private, no uploads.
Shrink JPG, PNG, WebP, AVIF and GIF files with MozJPEG, OxiPNG and modern codecs, with a live before/after preview.
Resize to exact pixels, a percentage or a longest side, with Lanczos3 and Magic Kernel resampling. Batch ready.
Strip EXIF, GPS, XMP, IPTC and comments losslessly. Pixels are never re-encoded for JPG, PNG and WebP.
Convert between 34 image formats in bulk: HEIC, WebP, AVIF, JPEG XL, PNG, JPG, GIF, TIFF, SVG, ICO, PSD, RAW and more.
Frequently asked questions
Why do I get a .dng file instead of a .raf?
A real RAF is written by Fujifilm cameras and holds the sensor's own readings (12 to 16 bits per channel depending on the camera, stored as uncompressed or lossless compressed sensor data in Fujifilm's own container) along with EXIF and Fujifilm maker notes, including the Film Simulation. A TGA holds no sensor data, so no software outside the camera can create a genuine RAF. The Linear DNG you get instead is Adobe's open raw format, and every editor that opens RAF files opens it with the same raw controls. It holds decoded pixels, so it adds no quality or dynamic range.
Does converting TGA to RAF lose quality?
DNG is written uncompressed, so the pixels are stored exactly as decoded.
What happens to transparency when converting TGA to RAF?
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.