We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b71e351 commit 3276a52Copy full SHA for 3276a52
graphics/src/Image.cc
@@ -38,16 +38,16 @@ namespace gz
38
class Image::Implementation
39
{
40
/// \brief bitmap data
41
- public: FIBITMAP *bitmap;
+ public: FIBITMAP *bitmap{nullptr};
42
43
/// \brief path name of the image file
44
public: std::string fullName;
45
46
/// \brief Color type for this image
47
- public: FREE_IMAGE_COLOR_TYPE colorType;
+ public: FREE_IMAGE_COLOR_TYPE colorType{FIC_RGB};
48
49
/// \brief Image type, i.e. pixel format
50
- public: FREE_IMAGE_TYPE imageType;
+ public: FREE_IMAGE_TYPE imageType{FIT_UNKNOWN};
51
52
/// \brief Implementation of Data, returns vector of bytes
53
public: std::vector<unsigned char> DataImpl(FIBITMAP *_img) const;
0 commit comments