Main GraphicsMagick source repository
Revision | acb5f7fa99cfaecdf936e38687c8c31e0d418f38 (tree) |
---|---|
Time | 2022-05-29 23:38:51 |
Author | Bob Friesenhahn <bfriesen@Grap...> |
Commiter | Bob Friesenhahn |
colorMapSize() method for returning the number of colormap entries should be a const method.
@@ -1,3 +1,9 @@ | ||
1 | +2022-05-29 Bob Friesenhahn <bfriesen@simple.dallas.tx.us> | |
2 | + | |
3 | + * Magick++/lib/Image.cpp: colorMapSize() method for returning the | |
4 | + number of colormap entries should be a const method. Change is | |
5 | + due to an email from Miro Kropáček on May 29, 2022. | |
6 | + | |
1 | 7 | 2022-05-08 Bob Friesenhahn <bfriesen@simple.dallas.tx.us> |
2 | 8 | |
3 | 9 | * www/Magick++/Image.rst: Update getIndexes() and |
@@ -1,6 +1,6 @@ | ||
1 | 1 | // This may look like C code, but it is really -*- C++ -*- |
2 | 2 | // |
3 | -// Copyright Bob Friesenhahn, 1999-2020 | |
3 | +// Copyright Bob Friesenhahn, 1999-2022 | |
4 | 4 | // |
5 | 5 | // Implementation of Image |
6 | 6 | // |
@@ -2568,7 +2568,7 @@ | ||
2568 | 2568 | imageptr->colors = entries_; |
2569 | 2569 | } |
2570 | 2570 | } |
2571 | -unsigned int Magick::Image::colorMapSize ( void ) | |
2571 | +unsigned int Magick::Image::colorMapSize ( void ) const | |
2572 | 2572 | { |
2573 | 2573 | const MagickLib::Image* imageptr = constImage(); |
2574 | 2574 |
@@ -1,6 +1,6 @@ | ||
1 | 1 | // This may look like C code, but it is really -*- C++ -*- |
2 | 2 | // |
3 | -// Copyright Bob Friesenhahn, 1999 - 2020 | |
3 | +// Copyright Bob Friesenhahn, 1999 - 2022 | |
4 | 4 | // |
5 | 5 | // Definition of Image, the representation of a single image in Magick++ |
6 | 6 | // |
@@ -905,7 +905,7 @@ | ||
905 | 905 | |
906 | 906 | // Colormap size (number of colormap entries) |
907 | 907 | void colorMapSize ( const unsigned int entries_ ); |
908 | - unsigned int colorMapSize ( void ); | |
908 | + unsigned int colorMapSize ( void ) const; | |
909 | 909 | |
910 | 910 | // Image Color Space |
911 | 911 | void colorSpace( const ColorspaceType colorSpace_ ); |
@@ -10,5 +10,5 @@ | ||
10 | 10 | |
11 | 11 | #define public MagickPackageName "GraphicsMagick" |
12 | 12 | #define public MagickPackageVersion "1.4" |
13 | -#define public MagickPackageVersionAddendum ".020220508" | |
14 | -#define public MagickPackageReleaseDate "snapshot-20220508" | |
13 | +#define public MagickPackageVersionAddendum ".020220529" | |
14 | +#define public MagickPackageReleaseDate "snapshot-20220529" |
@@ -38,8 +38,8 @@ | ||
38 | 38 | #define MagickLibVersion 0x272400 |
39 | 39 | #define MagickLibVersionText "1.4" |
40 | 40 | #define MagickLibVersionNumber 27,24,0 |
41 | -#define MagickChangeDate "20220508" | |
42 | -#define MagickReleaseDate "snapshot-20220508" | |
41 | +#define MagickChangeDate "20220529" | |
42 | +#define MagickReleaseDate "snapshot-20220529" | |
43 | 43 | |
44 | 44 | /* |
45 | 45 | The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines |
@@ -35,6 +35,11 @@ | ||
35 | 35 | <div class="document"> |
36 | 36 | |
37 | 37 | |
38 | +<p>2022-05-29 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> | |
39 | +<blockquote> | |
40 | +* Magick++/lib/Image.cpp: colorMapSize() method for returning the | |
41 | +number of colormap entries should be a const method. Change is | |
42 | +due to an email from Miro Kropáček on May 29, 2022.</blockquote> | |
38 | 43 | <p>2022-05-08 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> |
39 | 44 | <blockquote> |
40 | 45 | <p>* www/Magick++/Image.rst: Update getIndexes() and |