Skip to content

Dng improvements#1351

Merged
davidplowman merged 2 commits intoraspberrypi:mainfrom
davidplowman:dng-improvements
Jan 6, 2026
Merged

Dng improvements#1351
davidplowman merged 2 commits intoraspberrypi:mainfrom
davidplowman:dng-improvements

Conversation

@davidplowman
Copy link
Collaborator

Uses the updated PiDNG library which avoids some pixel buffer copies, and also does one less buffer copy itself.

Adds a test to ensure that output to BytesIO works.

Updates the CI machine PYTHONPATH so that we can install the updated PiDNG library locally there.

Don't copy the buffer in helper.save_dng, and use optimised call
to pidng.convert.

Also add a test that confirms saving DNGs to a BytesIO works.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
@davidplowman davidplowman merged commit d32cc40 into raspberrypi:main Jan 6, 2026
5 checks passed
@davidplowman davidplowman deleted the dng-improvements branch January 6, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant