virtual ScanlineStatus InitializeWithStatus(const void *image_buffer, size_t buffer_length)
Definition: image_resizer.h:50
Definition: scanline_status.h:93
virtual size_t GetImageWidth()
Returns the width of the image.
Definition: image_resizer.h:83
virtual PixelFormat GetPixelFormat()=0
Returns the pixel format that need to be used by writer.
virtual size_t GetBytesPerScanline()
Returns number of bytes required to store a scanline.
Definition: image_resizer.h:69
virtual bool HasMoreScanLines()
virtual bool Reset()
Resets the resizer to its initial state. Always returns true.
virtual size_t GetImageHeight()
Returns the height of the image.
Definition: image_resizer.h:78
virtual PixelFormat GetPixelFormat()
Returns the pixel format of the image.
Definition: image_resizer.h:88
Definition: scanline_interface.h:32
virtual bool IsProgressive()
Returns true if the image is encoded in progressive / interlacing format.
Definition: image_resizer.h:93
virtual ScanlineStatus ReadNextScanlineWithStatus(void **out_scanline_bytes)
bool Initialize(ScanlineReaderInterface *reader, size_t output_width, size_t output_height)
Initializes the resizer with a reader and the desired output size.