Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 29, 2012
  1. Merge jcupitt/ruby-vips

    authored
    Conflicts:
    	ext/extconf.rb
Commits on Nov 4, 2011
  1. @jcupitt

    update for 7.27

    jcupitt authored
    now works with libvips git head
Commits on Oct 18, 2011
  1. @jcupitt

    add image metadata get/set methods

    jcupitt authored
    Add image methods to get and set image metadata as strings. For example:
    
    im = Image.new('/home/john/pics/theo.jpg')
    im.set('exif-Orientation','Bottom-right')
    
    This is q quick hack and not really useful for non-string-valued
    metadata.
Commits on Oct 11, 2011
  1. @jcupitt

    get ruby-vips working with 7.26

    jcupitt authored
    now works with 7.26.4 and later
Commits on Sep 7, 2011
  1. Add 7.26 and update readme

    authored
Commits on May 9, 2011
  1. @catwell

    Build with VIPS 7.24

    catwell authored
Commits on Aug 26, 2010
  1. @ender672
  2. @ender672

    Fix Boolean documentation, refactor some methods.

    ender672 authored
    Makes a correction to the documentation for all boolean methods.
    
    Refactors methods in image_arithmetic.c and image_boolean.c that can accept a variety of arguments.
    
    Adds Image#and, Image#or, Image#xor and aliases for them, &, |, ^
  3. @ender672

    Fix to README.md

    ender672 authored
  4. @ender672
  5. @ender672

    TODO updates.

    ender672 authored
  6. @ender672

    Create aliases for Image arithmetic operations

    ender672 authored
    This creates aliases such as Image#+ which is an alias for Image#add.
    
    This adds the following instance methods for image: +,-,/,*,**,%
  7. @ender672

    Image.new is now handled in ruby code by readers.

    ender672 authored
    The Image initializer method implemented in the C extension is no longer needed. Removing.
Commits on Aug 25, 2010
  1. @ender672

    Documentation fixes.

    ender672 authored
    Mostly fixes to markup in documentation.
  2. @ender672

    Properly pass argv[0] to VIPS.

    ender672 authored
    ruby's ARGV is different than the C argv in that it doesn't include argv[0].
  3. @ender672

    Properly pass argv[0] to VIPS.

    ender672 authored
    ruby's ARGV is different than the C argv in that it doesn't include argv[0].
Commits on Aug 24, 2010
  1. @ender672

    Adds VIPS.debug_info . VIPS commandline option parsing.

    ender672 authored
    VIPS.debug_info prints memory allocation information to stdout. This is useful when looking for memory leaks.
    
    Added support for default VIPS command line options.
  2. @ender672

    Downgrade to RSpec1 so that you don't need to install a prerelease RSpec

    ender672 authored
    Should be okay to use RSpec2 once the final is out.
  3. @ender672

    Fix a memory leak when writing images in native Vips format

    ender672 authored
    We were creating VipsImage Object but it was not being closed after write.
Commits on Aug 18, 2010
  1. @ender672
  2. @ender672
  3. @ender672

    Adds rdoc documentation and minor API cleanups.

    ender672 authored
    Transcribed glib documentation and man pages from the original vips sources. In the process, had to jump through some hoops to get rdoc to properly recognize classes and methods. Rdoc2 still doesn't like it, but I prefer the appearance of rdoc 1 anyways.
Commits on Aug 13, 2010
  1. @ender672

    Fix up PNG memory writing specs

    ender672 authored
    These specs currently only run when compiling against the trunk version of libvips. Fixed up some specs that still had dummy values.
  2. @ender672

    API simplifications and make masks easier to work with.

    ender672 authored
    Lots of small API cleanups after auditing all methods. For example, instead of Image#shrink(3, 3) you can now call Image#shrink(3).
    
    Integer masks and double masks are now interchangable, as long as the matrix has all-integer coefficients. Also, all methods that accept masks now can optionally accept a ruby array.
Commits on Aug 12, 2010
  1. @ender672

    Fix a copy/paste error.

    ender672 authored
  2. @ender672

    Add generic reader and writer classes, add Reader#recognized?

    ender672 authored
    The generic reader & writer methods are accessible through Image#new, Image#write. libvips has heuristics to figure out which format the file will be read or written in.
    
    Reader#recognized? works for most Reader subclasses. It checks file signatures to quickly see if a file is of a given format. I.e.
    
    JPEGReader.recognized?("/path/to/img.jpg") # => true / false
  3. @ender672

    Updated README

    ender672 authored
Commits on Aug 11, 2010
  1. @ender672

    Create new reader API and refactor writer api.

    ender672 authored
    Readers are now broken into separate classes for each image type. All reader inherit from VIPS::Reader. All header methods have been moved into a module which is now included by VIPS::Reader, VIPS::Image and VIPS::Writer.
Commits on Aug 8, 2010
  1. @ender672
  2. @ender672

    Remove header methods from Image class, move image writing methods in…

    ender672 authored
    …to subclasses of the Writer class.
    
    The new writer classes make it easier to set format writing options. Before, options were coded into
    the write path, i.e. via:
    
    im.to_jpeg("myjpeg.jpg:66") #  save the image as a jpeg with compression level 66
    
    With the new writer classes, this can be done via:
    
    jpeg = im.to_jpeg
    jpeg.compression = 66
    jpeg.write("myjpeg.jpg")
    
    A shortcut is to pass an option hash to Image#to_jpeg:
    
    im.to_jpeg(:compression => 66).write("myjpeg.jpg")
    
    Header methods have been moved out of the Image class and into the writer classes.
Commits on Aug 5, 2010
  1. @ender672

    Initial commit

    ender672 authored
Something went wrong with that request. Please try again.