JpegImageCollection.h 454 B

123456789101112131415161718192021222324252627282930
  1. #ifndef JPEGIMAGECOLLECTION_H
  2. #define JPEGIMAGECOLLECTION_H
  3. #include "JpegImage.h"
  4. #include <string>
  5. #include <vector>
  6. namespace Image {
  7. class JpegImageCollection
  8. {
  9. public:
  10. JpegImageCollection(const std::vector<JpegImage>& images);
  11. void Save(const std::string& fileName);
  12. private:
  13. size_t m_width;
  14. size_t m_height;
  15. size_t m_strideX;
  16. size_t m_strideY;
  17. std::vector<char> m_imageData;
  18. };
  19. } // namespace Image
  20. #endif // JPEGIMAGECOLLECTION_H