- virtual ~Image () {}
-
- /** @return Array of pointers to arrays of the component data */
- virtual uint8_t ** data () const = 0;
-
- /** @return Array of sizes of the data in each line, in bytes (without any alignment padding bytes) */
- virtual int * line_size () const = 0;
-
- /** @return Array of strides for each line (including any alignment padding bytes) */
- virtual int * stride () const = 0;
-
- /** @return Size of the image, in pixels */
- virtual Size size () const = 0;
+ uint8_t ** data () const;
+ int * line_size () const;
+ int * stride () const;
+ dcp::Size size () const;
+ bool aligned () const;