ImageIoJpeg.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Core
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2019, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeCore/PtrRef.h"
16 
17 namespace cee {
18 
19 class Image;
20 class Str;
21 
22 
23 //==================================================================================================
24 //
25 //
26 //
27 //==================================================================================================
28 class CEE_CORE_EXPORT ImageIoJpeg
29 {
30 public:
31  static PtrRef<Image> loadImage(const Str& fileName);
32  static bool saveImage(const Image& image, const Str& fileName);
33 
34 private:
35  ImageIoJpeg();
36  CEE_DISALLOW_COPY_AND_ASSIGN(ImageIoJpeg);
37 };
38 
39 }
Stores an RGBA image with 8 bits per pixel.
Definition: Image.h:25
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Helper class for reading and writing JPEG images.
Definition: ImageIoJpeg.h:28
A general unicode based string class.
Definition: Str.h:28
Smart pointer class used for handling reference counted objects (that derive from Object)...
Definition: PtrRef.h:26