SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2004
    Location
    Manchester
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Image manipulation in Ruby?

    Hi all

    Anyone know of any image manipulation libraries with exif support in Ruby? I'm looking for something that's similar to PHP's built-in JPEG/PNG functions.

    Cheers!

  2. #2
    SitePoint Guru silver trophy Luke Redpath's Avatar
    Join Date
    Mar 2003
    Location
    London
    Posts
    794
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://rmagick.rubyforge.org/ should do the trick.

  3. #3
    Resident Java Hater
    Join Date
    Jul 2004
    Location
    Gerodieville Central, UK
    Posts
    446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found Ruby GD is best. However it doesn't seem to work on Windows, so use a Linux machine for this.

    To compile ruby gd, you need lib jpeg/png and freetype 2 on your dev machine. Ideally you should compile these your self or install the dev packages. Likewise when you compile these, you need to explictly say the path for these libs. The easy way is just to use Gentoo (be warned Gentoo used to have a fixed dependancy on x11 / open GL for some reason, which is a pain for server machines).

    rmagik is easier to install, but I perfer GD because it has typography stuff that i use. I dunno if this has exif stuff you are looking for ....

    http://raa.ruby-lang.org/project/ruby-exif/ <-- might be worth looking at


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •