libcamera, Librem 5 and autofocus

Laurent Pinchart laurent.pinchart at ideasonboard.com
Thu Apr 10 21:10:11 CEST 2025


On Thu, Apr 10, 2025 at 08:16:18PM +0200, Pavel Machek wrote:
> Hi!
> 
> > On a side note, I want a universal container format to store images :-)
> 
> I thought about this and did some research, and actually, there seems
> to be one.
> 
> Would already estabilished binary format with width, height and fourcc
> be suitable? :-). Downside is, it has "Microsoft" written over it; but
> it is supported by gimp and does not look completely crazy.
> 
> pavel at duo:/data/l$ file /tmp/delme.dds 
> /tmp/delme.dds: Microsoft DirectDraw Surface (DDS): 1920 x 1080, 32-bit color, ABGR8888
> pavel at duo:/data/l$
> 
> https://learn.microsoft.com/en-us/windows/win32/direct3ddds/dx-graphics-dds-pguide

That format seems to be designed to store textures. As far as I
understand, it's similar in purpose to https://www.khronos.org/ktx/.
Neither support storing raw bayer data. We could extend the file
formats, but then they wouldn't be standard anymore. If we need
extensions, I'd rather consider KTX.

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list