24 #ifndef GNASH_GNASHIMAGE_H
25 #define GNASH_GNASHIMAGE_H
27 #include <boost/shared_ptr.hpp>
28 #include <boost/noncopyable.hpp>
29 #include <boost/cstdint.hpp>
30 #include <boost/scoped_array.hpp>
115 return _width * channels();
146 void update(const_iterator
data);
167 return begin() + size();
172 return begin() + size();
256 void setPixel(
size_t x,
size_t y, value_type
r, value_type
g, value_type
b,
270 Input(boost::shared_ptr<IOChannel> in)
279 virtual void read() = 0;
289 virtual size_t getWidth()
const = 0;
312 boost::shared_ptr<gnash::IOChannel> in);
356 virtual void writeImageRGB(
const unsigned char* rgbData) = 0;
363 log_error(
_(
"This image format does not support writing RGBA images"));
376 boost::shared_ptr<gnash::IOChannel> out,
const GnashImage& image,
396 assert(row < im.
height());
407 assert(row < im.
height());
412 const size_t bufferLength);