Convert BAY to JXL

Drag and drop files here or click to select.
Max file size 100mb.
Uploading progress:

BAY vs JXL Format Comparison

AspectBAY (Source Format)JXL (Target Format)
Format Overview
BAY
Casio RAW Image

BAY is Casio's proprietary RAW image format used by select Casio digital cameras. It stores unprocessed sensor data directly from the camera's CCD or CMOS sensor, preserving the original Bayer pattern data before any in-camera processing, white balance, or noise reduction has been applied.

Lossless RAW
JXL
JPEG XL

JPEG XL is the next-generation image format standardized as ISO/IEC 18181. It delivers both lossy and lossless compression with efficiency that surpasses PNG, JPEG, and WebP. JXL supports HDR, wide color gamut, transparency, progressive decoding, and can losslessly transcode existing JPEG files into smaller containers.

Lossless Modern
Technical Specifications
Color Depth: 12-bit RAW sensor data
Compression: Lossless (unprocessed Bayer data)
Transparency: Not supported
Animation: Not supported
Extensions: .bay
Color Depth: Up to 32-bit per channel (float)
Compression: VarDCT (lossy) + Modular (lossless)
Transparency: Full alpha channel support
Animation: Native animation support
Extensions: .jxl
Image Features
  • Bayer Pattern: Raw sensor mosaic data
  • 12-bit Depth: 4096 levels per channel
  • White Balance: Adjustable in RAW processing
  • Exposure: Some recovery latitude from RAW data
  • Noise: Unprocessed sensor noise for custom NR
  • EXIF: Basic camera and shooting metadata
  • HDR: Native high dynamic range support
  • Wide Gamut: Full ICC profile support
  • Progressive: Multi-resolution progressive decode
  • Layers: Multiple image layers
  • JPEG Transcode: Lossless JPEG recompression
  • Depth Maps: Embedded depth channel
Processing & Tools

Reading Casio BAY with rawpy:

# Read Casio BAY RAW
import rawpy
from PIL import Image
raw = rawpy.imread("photo.bay")
rgb = raw.postprocess()
img = Image.fromarray(rgb)

Encoding to JPEG XL:

# Lossless JXL encoding
cjxl input.png output.jxl -q 100

# Quality-based encoding
cjxl input.png output.jxl -q 90

# Python with Pillow
img.save("output.jxl", quality=95)
Advantages
  • Unprocessed sensor data for maximum control
  • Full white balance adjustment in post
  • 12-bit depth provides editing headroom
  • No in-camera processing artifacts
  • Original Bayer pattern preserved
  • Historical value for Casio camera images
  • 35-50% smaller than PNG in lossless mode
  • 60% smaller than JPEG at equivalent quality
  • Native HDR and wide color gamut
  • Progressive decoding for large images
  • ISO/IEC 18181 international standard
  • Up to 32-bit float precision
  • Universal compatibility growing rapidly
Disadvantages
  • Extremely limited software support
  • Casio exited the camera market in 2018
  • No ongoing format development or updates
  • Cannot be viewed in any browser
  • Very few RAW processors support BAY natively
  • Limited browser support currently
  • Chrome removed JXL support in v110
  • Encoding slower than JPEG/PNG
  • Ecosystem still maturing
  • Not all image editors support JXL yet
Common Uses
  • Legacy Casio digital camera photography
  • Archival of Casio camera image collections
  • Historical digital photography preservation
  • RAW processing experiments
  • Vintage digital camera enthusiast projects
  • Next-generation image archiving
  • HDR photography storage
  • Lossless image distribution
  • Professional photography output
  • Web image delivery (growing support)
Best For
  • Casio camera owners with BAY file archives
  • Maximum control over image processing
  • Preserving original sensor data from Casio cameras
  • Vintage digital photography collections
  • Preserving legacy BAY images in modern format
  • Efficient lossless storage of converted images
  • Future-proof archival of Casio photo collections
  • Sharing converted images with standard viewers
  • Reducing storage footprint of image archives
Version History
Introduced: Early 2000s (Casio)
Current Version: BAY (discontinued)
Status: Discontinued (Casio left camera market 2018)
Evolution: QV series → Exilim series → Discontinued (2018)
Introduced: 2022 (ISO/IEC 18181)
Current Version: JPEG XL 0.10 (libjxl)
Status: Active, growing adoption
Evolution: PIK + FUIF (2018) → JPEG XL draft (2020) → ISO standard (2022)
Software Support
Image Editors: dcraw, RawTherapee (limited)
Web Browsers: No browser support
OS Preview: No native OS support
Mobile: No mobile support
CLI Tools: rawpy, dcraw, LibRaw
Image Editors: GIMP 2.99+, darktable, Krita, ImageMagick 7.1+
Web Browsers: Firefox 113+ (behind flag), Safari 17+
OS Preview: macOS 14+, Windows (via plugin), Linux
Mobile: iOS 17+, Android (limited)
CLI Tools: libjxl (cjxl/djxl), ImageMagick, Pillow 10+

Why Convert BAY to JXL?

Converting BAY to JXL is essential for preserving legacy Casio camera RAW files in a modern, future-proof format. Casio exited the digital camera market in 2018, and their proprietary BAY format has extremely limited software support. By converting to JPEG XL, you ensure these images remain accessible with standard tools while benefiting from state-of-the-art compression that keeps file sizes manageable.

BAY files from vintage Casio cameras represent a unique archive of early digital photography. However, the declining software support for this abandoned format means these files become harder to open with each passing year. JXL, as an ISO international standard, is designed for long-term compatibility and will be supported by image software for decades to come, making it the ideal preservation format.

JXL's lossless compression is particularly valuable for archival conversion of BAY files. Unlike JPEG, which would permanently discard detail from these carefully preserved RAW files, JXL's Modular lossless mode stores every pixel of the demosaiced output exactly, while achieving 35-50% smaller files than PNG. This means your Casio photo archive takes up less space without any quality compromise.

The conversion process applies professional-grade RAW demosaicing to extract the maximum quality from the BAY sensor data, then encodes the result in JXL format. This transforms opaque, proprietary camera data into a universally accessible image that can be viewed, edited, and shared using any modern image tool or operating system.

Key Benefits of Converting BAY to JXL:

  • Format Preservation: Migrate from abandoned format to active ISO standard
  • Universal Access: View converted images without specialized RAW software
  • Efficient Storage: 35-50% smaller than PNG with lossless quality
  • Future-Proof: ISO/IEC 18181 ensures decades of readability
  • Quality Retention: Professional demosaicing extracts maximum detail
  • Progressive Decode: Fast previews of converted legacy images
  • Metadata Support: Preserves available EXIF data from Casio cameras

Practical Examples

Example 1: Rescuing a Casio Camera Archive

Scenario: A photographer discovers old BAY files from a Casio Exilim camera on a backup drive and converts them to JXL for modern viewing and long-term preservation.

Source: CIMG0234.bay (8 MB, 6 megapixels, 12-bit RAW)
Conversion: BAY → JXL (lossless)
Result: CIMG0234.jxl (2.4 MB, lossless quality)

✓ Image now viewable in any JXL-compatible viewer
✓ 70% smaller than equivalent PNG output
✓ Professional demosaicing extracts full detail
✓ Preserved in ISO standard for long-term access
✓ EXIF metadata retained where available

Example 2: Batch Converting Vintage Casio Photos

Scenario: A digital photography historian batch converts a collection of Casio BAY files for inclusion in an online archive of early digital camera output.

Source: casio_collection/ (150 BAY files, ~1.2 GB total)
Conversion: BAY → JXL (lossy, quality 95)
Result: 150 JXL files, ~180 MB total

✓ 85% storage reduction for web hosting
✓ Near-lossless quality for historical documentation
✓ Progressive decode for gallery browsing
✓ Standardized format for museum digital collections
✓ Compatible with modern web serving infrastructure

Example 3: Family Photo Recovery Project

Scenario: A family recovers BAY files from a vintage Casio camera's memory card and wants to convert them to a format that works on modern phones and computers.

Source: vacation_2005_042.bay (7 MB, 5 megapixels, 12-bit RAW)
Conversion: BAY → JXL (lossy, quality 92)
Result: vacation_2005_042.jxl (380 KB, high quality)

✓ Family photos rescued from obsolete format
✓ Viewable on macOS 14+, iOS 17+, Linux
✓ Small enough to share via email or messaging
✓ Better color rendering than camera's original JPEG
✓ RAW processing recovers detail lost in auto-exposure

Frequently Asked Questions (FAQ)

Q: What is the BAY format?

A: BAY is Casio's proprietary RAW image format used by select Casio digital cameras, primarily from their Exilim and QV series. It stores unprocessed 12-bit sensor data directly from the camera's image sensor. Casio exited the digital camera market in 2018, making BAY an abandoned format with extremely limited software support.

Q: Why should I convert BAY files now?

A: Because BAY is an abandoned proprietary format, software support will only decrease over time. Converting to JXL now ensures your images are preserved in an active ISO standard format that will be supported for decades. The longer you wait, the harder it becomes to find working tools to read BAY files.

Q: Which Casio cameras produced BAY files?

A: Select models from Casio's Exilim and QV digital camera lines supported BAY RAW output. These were consumer and prosumer compact cameras from the early to mid-2000s. Not all Casio cameras offered RAW shooting; most only saved JPEG.

Q: Is the BAY to JXL conversion lossless?

A: The RAW demosaicing step involves interpolation of the Bayer pattern data, which is inherent to any RAW conversion. The resulting processed image can then be encoded to JXL in fully lossless mode, preserving every pixel of the demosaiced output. This is the same process used by any RAW converter (Lightroom, RawTherapee, etc.).

Q: Can I view JXL files on my computer?

A: macOS 14 (Sonoma) and later support JXL natively in Preview and Finder. Windows users can install the JPEG XL plugin for Windows Photo Viewer. Linux users can view JXL files in GIMP, darktable, gThumb, and other applications. Safari 17+ and Firefox (with flag enabled) display JXL in browsers.

Q: How much smaller will my BAY files be after conversion to JXL?

A: A typical 6-megapixel BAY file (8 MB) converts to approximately 2-3 MB as lossless JXL, or 300-500 KB as high-quality lossy JXL. This represents a 60-95% reduction in file size while maintaining excellent image quality suitable for viewing, printing, and archival.

Q: Should I keep the original BAY files after conversion?

A: Yes, always keep your original BAY files if possible. While JXL preserves the processed image perfectly, the original RAW data allows future reprocessing with improved demosaicing algorithms. Store the originals on a backup drive as your master archive, and use the JXL files for everyday access and sharing.

Q: Why choose JXL over PNG or TIFF for BAY conversion?

A: JXL offers dramatically better compression than both PNG and TIFF while maintaining lossless quality. A lossless JXL file is typically 35-50% smaller than PNG and 80-90% smaller than uncompressed TIFF. JXL also supports progressive decoding and HDR, features that PNG and TIFF lack, making it the most efficient and capable archival format available.