Skip to content

Pentax K200D .pef file not recognized #11012

@bw35

Description

@bw35

Hi,

Using Darktable 3.8.0, opening a PEF file produced by a Pentax K200D fails with message " has unknown format".

Console output says camera isn't supported:

[rawspeed] (IMGP9948.PEF) bool rawspeed::RawDecoder::checkCameraSupported(const rawspeed::CameraMetaData*, const string&, const string&, const string&), line 177: Camera not supported (explicit). Sorry.

Relevant entry from rawspeed.xml mentions no-samples as reason:

<Camera make="PENTAX Corporation" model="PENTAX K200D" supported="no-samples">
		<ID make="Pentax" model="K200D">Pentax K200D</ID>
		<CFA width="2" height="2">
			<Color x="0" y="0">RED</Color>
			<Color x="1" y="0">GREEN</Color>
			<Color x="0" y="1">GREEN</Color>
			<Color x="1" y="1">BLUE</Color>
		</CFA>
		<Crop x="0" y="0" width="3880" height="2604"/>
		<Sensor black="0" white="4095"/>
		<ColorMatrices>
			<ColorMatrix planes="3">
				<ColorMatrixRow plane="0">9186 -2678 -907</ColorMatrixRow>
				<ColorMatrixRow plane="1">-8693 16517 2260</ColorMatrixRow>
				<ColorMatrixRow plane="2">-1129 1094 8524</ColorMatrixRow>
			</ColorMatrix>
		</ColorMatrices>
	</Camera>

A zipped sample PEF file is attached.
IMGP9948.zip

I'm happy to provide more samples if needed. What are the requirements for sample images?

Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions