2 #ifndef vil_png_file_format_h_ 3 #define vil_png_file_format_h_ 24 char const*
tag()
const override;
58 unsigned ni()
const override {
return width_; }
66 unsigned j0,
unsigned nj)
const override;
72 bool get_property(
char const *
tag,
void *prop =
nullptr)
const override;
75 #endif // vil_png_file_format_h_
An abstract base class of smart pointers to actual image data in memory.
unsigned nplanes() const override
Dimensions: planes x width x height x components.
bool get_property(char const *tag, void *prop=nullptr) const override
Extra property information.
vil_png_image(vil_stream *is)
bool put_view(const vil_image_view_base &im, unsigned i0, unsigned j0) override
Put the data in this view back into the image source.
Stream interface for VIL image loaders.
Generic image implementation for PNG files.
Abstract representation of an image source or image destination.
unsigned nj() const override
Dimensions: Planes x ni x nj.
vil_image_view_base_sptr get_copy_view() const
Create a read/write view of a copy of all the data.
enum vil_pixel_format pixel_format() const override
Pixel Format.
unsigned ni() const override
Dimensions: Planes x ni x nj.
Representation of a generic image source or destination.
~vil_png_image() override
char const * file_format() const override
Return a string describing the file format.