Skip to content

Fix that gets raw2dng.py working again. #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/pidng/camdefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,10 @@ def __settings__(self) -> None:
self.tags.set(Tag.ProfileEmbedPolicy, [profile_embed])

class RaspberryPiHqCamera(BaseCameraModel):
def __init__(self, sensor_mode : int, cfaPattern=CFAPattern.BGGR, orientation=Orientation.Horizontal) -> None:
def __init__(self, sensor_mode : int, fmt : dict, cfaPattern=CFAPattern.BGGR, orientation=Orientation.Horizontal) -> None:
super().__init__()
self.model = RaspberryPiCameraModels.Raspberry_Pi_High_Quality_Camera
self.fmt = fmt
self.mode = sensor_mode
self.orientation = orientation
self.cfaPattern = cfaPattern
Expand Down Expand Up @@ -160,6 +161,9 @@ def __settings__(self) -> None:
else:
bpp = 10

self.fmt['size']=(width,height)
self.fmt['bpp']=bpp

profile_name = "Repro 2_5D no LUT - D65 is really 5960K"
profile_embed = 3

Expand Down