Copyright 2011, 2012, 2017, 2021 Kevin Ryde

This file is part of Image-Base-Magick.

Image-Base-Magick is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 3, or (at
your option) any later version.

Image-Base-Magick is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License along
with Image-Base-Magick.  If not, see <http://www.gnu.org/licenses/>.


Version 7, September 2021
    - oops, need 1x1 rectangles to dispatch to single-point

Version 6, August 2021
    - allow for GetPixel() returning transparency

Version 5, July 2017
    - tests allow for Image::Magick->VERSION = undef circa its 6.97

Version 4, October 2012
    - xy() use Draw(primitive=>'point') instead of set("pixel[]"), to
      avoid error on negative or large X,Y

Version 3, August 2011
    - fix diamond() coordinates
    - try strokewidth on ellipse() and diamond()

Version 2, July 2011
    - new -quality_percent option for JPEG
    - diamond() using polygon

Version 1, May 2011
    - the first version