MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenImageIO / write_scanlines

Method write_scanlines

src/python/py_imageoutput.cpp:132–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131
132bool
133ImageOutputWrap::write_scanlines (int ybegin, int yend, int z,
134 TypeDesc format, object &buffer,
135 stride_t xstride)
136{
137 const void *array = make_read_buffer (buffer, m_output->spec().scanline_bytes());
138 return m_output->write_scanlines(ybegin, yend, z, format, array, xstride);
139}
140
141
142bool

Callers 2

copy_subimageFunction · 0.45

Calls 2

scanline_bytesMethod · 0.80
specMethod · 0.45

Tested by 2

copy_subimageFunction · 0.36