All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Image2RGBA.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2020 by PDFTron Systems Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFImage2RGBA
6 #define PDFTRON_H_CPPPDFImage2RGBA
7 
8 #include <Filters/Filter.h>
9 #include <Filters/FilterReader.h>
10 #include <PDF/Element.h>
11 #include <PDF/Image.h>
12 
13 namespace pdftron {
14  namespace PDF {
15 
21 {
22 public:
23  Image2RGBA(Element image_element, bool premultiply = false);
24  Image2RGBA(SDF::Obj image_xobject, bool premultiply = false);
25  Image2RGBA(Image& image, bool premultiply = false);
26 };
27 
28 
29 #include <Impl/Image2RGBA.inl>
30 
31  }; // namespace PDF
32 }; // namespace pdftron
33 
34 #endif // PDFTRON_H_CPPPDFImage2RGBA
Image2RGBA(Element image_element, bool premultiply=false)