Skip to content
Merged
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
4 changes: 0 additions & 4 deletions rawpy/_rawpy.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,6 @@ cdef class RawPy:
the RAW image and postprocessed image.
"""
def __get__(self):
self.ensure_unpack()
cdef libraw_image_sizes_t* s = &self.p.imgdata.sizes

# LibRaw returns 65535 for cleft and ctop in some files - probably those that do not specify them
Expand All @@ -599,7 +598,6 @@ cdef class RawPy:
as some use two different greens.
"""
def __get__(self):
self.ensure_unpack()
return self.p.imgdata.idata.colors

property color_desc:
Expand All @@ -609,7 +607,6 @@ cdef class RawPy:
There are cameras with two different greens for example.
"""
def __get__(self):
self.ensure_unpack()
return self.p.imgdata.idata.cdesc

cpdef int raw_color(self, int row, int column):
Expand Down Expand Up @@ -650,7 +647,6 @@ cdef class RawPy:
:rtype: ndarray of shape (hv,wv)
"""
def __get__(self):
self.ensure_unpack()
s = self.sizes
return self.raw_colors[s.top_margin:s.top_margin+s.height,
s.left_margin:s.left_margin+s.width]
Expand Down
Loading