[Ruby] Need urgent help with FreeImage/ImageScience on OS X - will pay!

John Moody john at mentalvelocity.com
Sat Mar 24 11:08:02 PST 2007



On Mar 24, 2007, at 11:27 AM, Ryan Davis wrote:

>
> On Mar 24, 2007, at 10:21 , John Moody wrote:
>
>> I'm a recent refugee from Windows, so please bear with me...
>>
>> I'm working on a Rails project for a client, and I'm trying to use
>> ImageScience to do some image thumbnails.  However, it's not working,
>> either from within Rails or straight Ruby code.  I've tried
>> uninstalling, reinstalling, dancing on one foot, and I thing
>> something's screwy with either FreeImage or ImageScience on my
>> MacBook.  I need to get this resolved this weekend (preferably
>> today!) to meet my client's schedule, and I'm willing to pay $100/hr
>> to get this fixed!  (I'm based in Mount Vernon, but I'll drive south
>> to meet with someone who can administer some tough love to my Mac.)
>
> I'm game (and that happens to be my consulting fee :P). Can you send
> me a detailed description of:
>
> + what your environment is (OS+version, ruby+version, compiler
> +version, relevant gems + versions).
> + what's wrong (minimally reproducible test case if possible, full
> bug + output otherwise).
> + what you expect to see
>
> I have lunch + hacking plans with Evan but can be available
> immediately after that. I might/probably don't have the environment
> to reproduce this in properly, so we'll probably have to do this in
> person. I'll call you in a bit.

OS X 10.4.9
ruby 1.8.5
compiler is 4.0.1 (if I'm looking in the right place - did I mention  
I'm a Mac newbie?)
relevant gems:
	RubyInline 3.6.2
	image_science 1.1.1

Test code:

	require 'rubygems'
	require 'image_science'

	  ImageScience.with_image "~/desktop/logo.gif" do |img|
	    img.thumbnail(50) do |thumb|
	      thumb.save "~/desktop/logo-thumb.gif"
	    end
	  end

Expected result:  a logo-thumb.gif file to be placed on the desktop.
Actual result:  the code executes, but no file is created.

If you need more info, let me know.  I look forward to the call!

Thanks!!!!

- John



More information about the Ruby mailing list