File perl-Imager.changes of Package perl-Imager
-------------------------------------------------------------------
Mon Oct 31 12:00:42 UTC 2022 - chris@computersalat.de
- add missing Group
- fix file list
* _DO NOT_ delete include DIR !!!
Needed for other Imager Modules Build
- add rpmlintrc with addFilter('devel-file-in-non-devel-package')
-------------------------------------------------------------------
Sun Jul 10 03:06:31 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.019
see /usr/share/doc/packages/perl-Imager/Changes
Imager 1.019 - 9 Jul 2022
============
- fix palette/transparency table generation when writing paletted PNG
images with tranparency. This happened to work for the test case,
but the mechanism used to generate the palette order preserved most
palette index positions, which hid the problem with actually
generating the PLTE and tRNS chunks.
https://github.com/tonycoz/imager/issues/499
- added lowish-level read() and write() class methods to
Imager::File::PNG, these are mostly intended for
Imager::File::APNG, but are documented and usable elsewhere.
- document in Imager::Install how to install Imager without any of
the bundled-but-also-on-CPAN modules being installed.
https://github.com/tonycoz/imager/issues/498
-------------------------------------------------------------------
Mon Jun 20 03:07:28 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.018
see /usr/share/doc/packages/perl-Imager/Changes
Imager 1.018 - 19 Jun 2022
============
- skip trying to produce deprecation warnings before perl 5.14, since
that doesn't support custom warning categories within a package.
This prevents pointless failures on these old versions of perl.
Imager 1.017 - 14 Jun 2022
============
Bug fix:
- fix a one bytes underallocation for Imager::TrimColorList. On
older perls this could lead to writing a zero byte one past the end
of the allocated block.
Documentation:
- expand on why you might want to call Imager->preload() and that you
probably don't need to.
Imager 1.016 - 12 Jun 2022
============
Upcoming backward incompatible changes:
- deprecate setting/deleting tags by code. If this causes you a
problem please open an issue. You can disable the warning produced
with:
no warnings 'Imager::tagcodes';
- deprecate image channel masks. If this causes you a problem please
open an issue. You can disable the warning produced with:
no warnings 'Imager::channelmask';
If you use either of these features please let me know.
Minor features:
- add magic/extension support for AVIF files, see Imager::File::AVIF
on CPAN.
- treat an unknown extension of two or more characters as a potential
file type on write.
Bug fixes:
- prevent a possible undefined value warning from t/t10jpeg.t
- update MANIFEST.SKIPs, update MANIFESTs and improve MANIFEST testing.
- TGA: failing to read in the palette of a paletted TGA file would
leak memory.
- JPEG: supplying invalid values for the new JPEG write tags could
leak memory.
- PNG: fix validation of Latin1 only tags when writing PNGs.
(detected by clang)
- matrix_transform: correctly use fabs() instead of abs() on floating
point values when deciding whether to divide for a perspective
transform. (detected by clang)
- fix the i_poly_aa_cfill_m() API macro
Cage cleaning:
- eliminate IO::File usage from the Imager code base
- fix a type error harmlessly ignored by gcc but found by clang
- eliminate memory leaks in sub-module Makefile.PL probe test code to
allow the probes to succeed under LeakSanitizer.
- BMP: fix some otherwise harmless clang warnings
- remove some code meant to work around some unspecified old Solaris
linker bug.
- i_noise: prevent a harmless conversion warning from clang
- fountain fill/filter: limit ssample_param to 1000 to simplify code.
Imager 1.015 - 7 May 2022
============
- rename the "virtual" member of i_img to "isvirtual" to allow the
API to be used from C++, this may break source compatibility, using
the i_img_virtual() accessor is backward compatible.
- add cookbook entry to populating an image from raw RGB samples
https://github.com/tonycoz/imager/issues/471
- Imager::Probe now puts the existing value of PKG_CONFIG_PATH at the
front of the PKG_CONFIG_PATH used when it calls pkg-config.
- setup CodeQL workflow and fix detected warnings
JPEG updates:
- detect libjpeg (of whichever variety) via pkg-config if possible
- add specific support for mozjpeg (turn its optimization off by
default so tests pass.)
- add libjpeg_version(), is_mozjpeg(), is_turbojpeg() and
has_arith_coding() methods
- add jpeg_compress_profile output tag, which only matters for
mozjpeg
- the libjpeg_version() method replaces the old
Imager::File::JPEG::i_libjpeg_version() function, and the format
has changed.
- various obscure jpeg output controls:
- add support for JPEG arithmetic coding when the supplied libjpeg
supports it. Note that not all JPEG decoders can handle arithmetic
coded JPEGs.
- add support for disabling the JFIF header for JPEG files using the
jpeg_jfif tag.
- add support for smoothing to eliminate dithering noise (like cjpeg
-smooth) using the jpeg_smooth tag.
- add support for producing JPEG restart markers (like cjpeg -restart
N), using the jpeg_restart tag.
- add control over subsample for JPEG (like the cjpeg -sample
parameter) using the jpeg_sample tag
- added tags for the rest of the MozJPEG API parameters.
- add jpeg_tune tag, corresponding to the MozJPEG cjpeg -tune-*
options.
Imager 1.014 - 28 Apr 2022
============
Bug fixes:
- fix failed to build on non-threaded perls.
https://github.com/tonycoz/imager/issues/472
- when writing a paletted image with an alpha channel to PNG only
set the tRNS chunk if the image has transparent colours. With
older libpng this could add an erroneous tRNS chunk (or possibly
undefined behaviour if I understand the libpng code).
https://github.com/tonycoz/imager/issues/459
Features:
- Imager::Color and Imager::Color::Float objects can now be created
from CSS style rgb(...) strings.
https://github.com/tonycoz/imager/issues/463
- added the as_css_rgb() method to both Imager::Color and
Imager::Color::Float to format the supplied color as a CSS style
rgb() string.
https://github.com/tonycoz/imager/issues/463
- Imager::Color and Imager::Color::Float objects can now be created
(copied) or set from other Imager::Color or Imager::Color::Float
objects.
Imager 1.013 - 27 Apr 2022
============
- added rgb_difference() method
Thanks to Andreas König
https://github.com/tonycoz/imager/pull/462
- update ppport.h to prevent a redefinition diagnostic
- update bug tracker URLs to point at github
https://github.com/tonycoz/imager/pull/466
- update some other bug tracker URLs too.
- add the trim() and trim_rect() methods, to trim borders off an
image.
- add the as_float() method to Imager::Color and the as_8bit() method
to Imager::Color::Float to convert between the two types.
- update ppport.h to avoid a diagnostic in more modern perls.
- add detection for HEIF, JPEG XL and QOI image formats
-------------------------------------------------------------------
Fri Oct 23 19:41:32 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
- updated to 1.012
see /usr/share/doc/packages/perl-Imager/Changes
Imager 1.012 - 14 Jun 2020
============
- Imager has moved to github.
- T1lib support is deprecated
- added guassian2 filter which allows separate filter radii for vertical
and horizontal. Thanks to Leolo.
https://rt.cpan.org/Ticket/Display.html?id=129769
- freetype2 support can now use pkg-config to configure itself.
- added red, green, blue, alpha methods to color objects.
- eliminate use vars.
-------------------------------------------------------------------
Tue Jun 18 07:59:13 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
- update to 1.011
* 1.011
General changes:
- correct the type of the data parameter for im_decode_exif().
- fix the release date listed below for 1.010
- add missing change entry for RT #128142
- binmode the correct handle in t/200-file/010-iolayer.t,
this may fix some test failures on one CPAN smoker.
- add the mymeta check (AUTHOR testing only) to MANIFEST
More Coverity fixes:
- translate_errdiff() could leak memory on failure (introduced in 1.009)
- i_img_make_palette() could leak memory on failure (introduced in 1.009)
- DSO_open(), from the original dynamic loading API, could leak dlopen()
handles on failure. DSO_close() now releases the memory associated with
the internal DSO handle, rather than only releasing the dlopen() handle.
* 1.010
General changes:
- added the add_file_magic() class method for adding magic for new
file types to Imager's fairly primitive file magic detection.
- fixed an embarassing documentation typo in Imager::Test.
- trying to read from a GIF file with no images now sets an error
message. https://rt.cpan.org/Ticket/Display.html?id=128481
- use undeprecated encoding symbols for FT2. This should fix the
build on the badly patched CentOS 7 Freetype 2.
https://rt.cpan.org/Ticket/Display.html?id=128142
Coverity has come back up read-only, a few more changes:
- add missing va_end() for bmp.c's write_packed().
- similarly for read_packed().
- add a NOTREACHED lint comment for pixel_coverage(). Compilers complained
about a missing return, Coverity complains about the return.
- avoid a possible sign extension in imsgi.c.
- add some FALLTHROUGH lint comments to i_readtga_wiol() where we
deliberately fall through switch cases.
- add assertions in callers to i_new_hatch_low() since Coverity
complained about some possible inconsistent NULL checks. I ended up
rearranging this function later.
- remove pointless NULL checks from i_flipxy() and i_img_destroy().
-------------------------------------------------------------------
Sat Jan 19 17:11:44 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
- update to 1.009
* See full changelog in https://metacpan.org/source/TONYC/Imager-1.009/Changes
- Cleaned with spec-cleaner
-------------------------------------------------------------------
Wed Aug 31 22:30:42 UTC 2011 - pascal.bleser@opensuse.org
- update to 0.85:
* on 64-bit systems, 64-bit types are consistently used for image dimensions
and co-ordinated, and for memory block sizes
* handle IFD loops in TIFF files correctly; previously this would lead to an
infinite loop
* fix the link in the getheight() entry in the method index
- changes from 0.84:
* the image file limits set by set_file_limits() weren't being checked when
reading TIFF files (RT#69915)
* provide more information about file format module load errors on a failed
image file read() or write() (RT#69194)
* use TIFFReadDirectory() instead of TIFFSetDirectory() to iterate through
TIFF images, since it checks for IFD loops (RT#69914)
* don't leak memory when out of range palette indexes are supplied to
setscanline() (RT#69242)
* require a later version of CPAN::Meta to ensure JSON::PP and
CPAN::Meta::YAML are available (RT#69008)
* hoist the per-line calculations for the flines implementations, and
modernize the tests a bit (RT#70126)
* detect snprintf()/vsnprintf() (cheat by using Config.pm) and use them when
available (RT#69147)
* if t1lib failed to reinitialize it would be left as marked initialized
(RT#69877)
* update the bundled (and still modified) Devel::CheckLib (RT#69170)
* the type used internally for pixel co-ordinates and image sizes is now
64-bit on 64-bit platforms (at least sane ones)
* size_t is now used consistently for memory block sizes
* since this changes the binary interface, the Imager API version has been
incremented: any module that uses the API will need to be rebuilt; in most
cases that will be enough, but calls to any APIs that take a pointer to
image sizes may need source changes
* you should be able to create very large images on 64-bit systems, if you
have enough memory; successfully created a 32768 x 49192 x 3 channel image,
filled with a tiled image and scaled it; the unscaled image was also
successfully saved to a JPEG
* check the image size before attempting to write BMP, GIF, JPEG, PNG, SGI,
TGA, TIFF images
* correctly handle reading TGA images over 32767 pixels wide or tall
* the gif_left and gif_top tags are now clamped to non-negative values when
writing a GIF image
* removed dead callback read/write code
* the default maximum memory size when reading files is now 1G
* Imager no longer inherits from Exporter (unless you're running an old, old
perl)
* Imager can now write progressive JPEGs (it could always read them)
(RT#68691)
* re-work, document and test Imager's logging facility (RT#65227)
* fix META.yml testing and the generated META.yml (RT#65235)
* test and add error reporting to to_*() family methods
* add to_rgb_double() method (RT#65101)
* Imager no longer exports anything by default (RT#65228)
* convert colors to grayscale if the supplied (or generated) palette contains
only grays when performing error diffusion color translation (RT#68508)
* writing a paletted image to GIF wouldn't always use the colors supplied (or
generated, eg. via make_colors => "mono"), which was confusing at best
(RT#67912)
-------------------------------------------------------------------
Sun May 22 16:27:44 UTC 2011 - pascal.bleser@opensuse.org
- update to 0.83:
* bugfix: diag() the error message on failure for some TIFF tests that are
failing on a Solaris smoker
-------------------------------------------------------------------
Mon Mar 14 15:53:38 UTC 2011 - pascal.bleser@opensuse.org
- update to 0.82:
* increase the version of Imager::Font::Type1 so that upgrades don't downgrade
the version in this file.
-------------------------------------------------------------------
Wed Feb 16 08:18:58 CET 2011 - pascal.bleser@opensuse.org
- initial version (0.81)