Permalink
Commits on Sep 14, 2006
  1. tag Imager 0.54

    Tony Cook committed Sep 14, 2006
Commits on Sep 12, 2006
  1. add generated .c files to make clean

    Tony Cook committed Sep 12, 2006
Commits on Sep 6, 2006
  1. add .perl files to the t94kwalitee struct tests and fix the non strict

    Tony Cook committed Sep 6, 2006
    .perl code
  2. read_multi() now falls back to calling read() and write_multi() now

    Tony Cook committed Sep 6, 2006
    falls back to calling write() for a single image.
Commits on Sep 1, 2006
Commits on Aug 31, 2006
  1. rubthrough done

    Tony Cook committed Aug 31, 2006
  2. skip the loop tests with older (un)giflibs

    Tony Cook committed Aug 31, 2006
  3. Changes to GIF support:

    Tony Cook committed Aug 31, 2006
    - the Nescape loop extension block is written if gif_loop is set.
    This requires libungif/libgif 4.1.3 or later.
    
    Resolves: http://rt.cpan.org/Ticket/Display.html?id=21185
    
    - we now set the GIF header depending on the features enabled in the
    GIF.  Since we don't do configure type probes for bugs we have to
    enable this based on the gif_lib.h version number, it's enabled for
    4.1.0 and later, but requires 4.1.3 and later (maybe 4.1.3) to run
    without crashing.
    
    You can avoid this crash by passing --nogifsetversion to Makefile.PL,
    or by installing a non-buggy libungif/libgif, if there is such a
    thing.
Commits on Aug 30, 2006
  1. note on relative speeds of the scaling mechanisms

    Tony Cook committed Aug 30, 2006
  2. convert scale.c to scale.im so we have 8 bit/sample and double/sample

    Tony Cook committed Aug 30, 2006
    implementations of mixing scaling.
    
    modified imtoc.perl to allow non-conditional #code sections to allow
    creation ofr 8 and double/sample versions of support functions.
    
    fixed a bug in an optimization that avoids vertically scaling when the
    vertical size stays the same.
    
    The change from double/sample only to both saved about 20% on
    scalebench time (which also loads/saves the images)
Commits on Aug 29, 2006
  1. comparisons against $ExtUtils::MakeMaker::VERSION were warning when

    Tony Cook committed Aug 29, 2006
    that had an _ in it.  We now eval it to prevent the warning.
  2. the rubthrough() method now supports destination images with an alpha

    Tony Cook committed Aug 29, 2006
    channel.
    
    Also added a statement on the relationship between the alpha channel
    and color data in Imager.
    
    The new rubthrough() code uses a new pre-processor that reduces source
    code duplication between 8-bit/sample and double/sample processing.
Commits on Aug 19, 2006
Commits on Aug 18, 2006
  1. move the existing dynfilt test into dynfilt/t, update it to use

    Tony Cook committed Aug 18, 2006
    Test::More and remove the dummy test script
  2. Merged in the scale branch:

    Tony Cook committed Aug 18, 2006
    - adds a new scaling mechanism 'mixing' based on the method
    implemented by pnmscale.  Produces better detail when scaling down and
    is faster than the 'normal' method.
    
    - the scale() method can now scale non-proportionally if the caller
    specifically asks for it with xscalefactor/yscalefactor or by setting
    type to 'nonprop'.
Commits on Aug 15, 2006
  1. added pixel type 'index' to getscanline() and setscanline() for

    Tony Cook committed Aug 15, 2006
    getting/setting palette indexes from paletted images.
    
    https://rt.cpan.org/Ticket/Display.html?id=20338
Commits on Aug 10, 2006
  1. finally found which file contained the POD errors that

    Tony Cook committed Aug 10, 2006
    http://cpants.perl.org/kwalitee/Imager was complaining about
    
    modified t/t91pod.t to check every pl/pod/pm/PL file
Commits on Aug 7, 2006
  1. Removed the query asking if GIF support should be disabled, since

    Tony Cook committed Aug 7, 2006
    recent lib(un)gif are sane.
    
    https://rt.cpan.org/Ticket/Display.html?id=20687
    
    Some README cleanup.
Commits on Jul 29, 2006
  1. basic todo for 0.54

    Tony Cook committed Jul 29, 2006
Commits on Jul 27, 2006
  1. bump to 0.53

    Tony Cook committed Jul 27, 2006
    This is to fix a crash bug introduced in 0.52.
    
    http://rt.cpan.org/Ticket/Display.html?id=20705
  2. there was a C< *(char *)0 = 0 > left in a code path uncovered by the

    Tony Cook committed Jul 27, 2006
    test suite.
    
    - added a test to cover that code path
    - removed the debug code
    
    Fixes: http://rt.cpan.org/Ticket/Display.html?id=20705
Commits on Jul 25, 2006
  1. bump to 0.52

    Tony Cook committed Jul 25, 2006
    This is primarily a feature release, but contains a fair few bug
    fixes, new features:
    
    - ability to read and write MS Windows ICO and CUR files
    
    - you can now add file format plugins to support new file formats
    
    - add POD coverage tests
    
    - setcolors() and addcolors() now accept color names and so on instead
      of requiring Imager::Color objects.
    
    - flood_fill() can now fill to a specified border color instead of
      just to the area the same color as the seed.
    
    Bug fixes:
    
    - bounding_box for the T1 driver wasn't converting UTF8 to ascii when
      calculating the advance width.
    
    - bounding_box for the T1 driver wasn't including leading and trailing
      spaces in the bounding box as the other drivers did, it also produced
      strange results for empty strings or strings containing only spaces
    
    - when reading CMYK jpeg images they were being transferred to the
      image object as is, producing a four channel image.  It only looked
      ok due to an old still unfixed Photoshop bug.  We now convert from
      the inverted CMYK that photoshop (and Corel for example) produce
      into RGB.
    
    - reading a CYMK TIFF would result in a 4 channel image, reading any
      image with more than 4 channels (eg. RGB with 2 alpha channels)
      would result in an error.
    
    - added /usr/local/include to the default include search path, since
      we were already searching /usr/local/lib for libraries.
    
    And various minor fixes and documentation updates.
Commits on Jul 24, 2006
  1. add an example of reading exif tags

    Tony Cook committed Jul 24, 2006
  2. added examples for fh, fd, file, data and callback mechanisms for

    Tony Cook committed Jul 24, 2006
    reading/writing files.
  3. add detection of BZIP2 and gzip data

    Tony Cook committed Jul 24, 2006
Commits on Jul 21, 2006
  1. add a magic entry to detect XWD files

    Tony Cook committed Jul 21, 2006
Commits on Jul 20, 2006
  1. bounding_box() for the t1 driver wasn't converting from UTF8 to ascii

    Tony Cook committed Jul 20, 2006
    when calculating the advance width.
    
    fixes http://rt.cpan.org/Ticket/Display.html?id=20554
  2. bounding_box() for t1 driver fonts was treating spaces as empty space

    Tony Cook committed Jul 20, 2006
    when calculating the bounds, which they are, but this is inconsistent
    with other drivers.  This was especially a problem for strings
    containing only spaces where the left bound would end up far to the
    right of the right bound, and similarly for the ascent and descent.
    
    calculating the bounding box for an empty string invoked special
    behaviour in t1lib, making it unreliable.
    
    Fixes: http://rt.cpan.org/Ticket/Display.html?id=20555