Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Libraries for JPEG resizing in Windows Environment

Reply
Thread Tools

Libraries for JPEG resizing in Windows Environment

 
 
Alex DeCaria
Guest
Posts: n/a
 
      02-19-2010
I'd like an idea as to what other image processing libraries are
available besides RMagick and MiniMagick. I'm currently successfully
using RMagick with Ruby 1.8, and I've also been able to get MiniMagick
working with Ruby 1.9, but the problem is that MiniMagick with Ruby 1.9
doesn't seem to work on my 64-bit windows OS (it does on 32-bit though).

I only need the library for one specific task. Reading in a .jpeg file
and resizing it.

Are there other libraries that I should consider trying and that might
work on a 64-bit system? I see there is something called Camellia. Is
that for Windows, or just Linux/Mac?

I would really like to just use MiniMagick, but again, I can't seem to
get the mini_magick gem to work on my 64-bit OS (it installs fine, but
gives errors when it runs).

Any ideas are most appreciated.

--Alex
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Kyle Schmitt
Guest
Posts: n/a
 
      02-19-2010
Camellia is more image recognition/computer vision type stuff.

If you're having trouble with RMagick/MiniMagick in 64 bit windows
OSes, my guess is you need to install a more up-to-date 64bit build of
ImageMagick or ImageScience. Check to make sure you have one of those
installed first, then try your gem again.

If it still doesn't work after you've installed ImageMagick or
ImageScience, try using the convert.exe program that comes with them.
You can always use ruby to shell out and run that program, if you
can't get the gem to work inside of ruby. Not as clean or as nice,
but workable for one-off situations.

--Kyle

On Fri, Feb 19, 2010 at 8:10 AM, Alex DeCaria
<> wrote:
> I'd like an idea as to what other image processing libraries are
> available besides RMagick and MiniMagick. =C2=A0I'm currently successfull=

y
> using RMagick with Ruby 1.8, and I've also been able to get MiniMagick
> working with Ruby 1.9, but the problem is that MiniMagick with Ruby 1.9
> doesn't seem to work on my 64-bit windows OS (it does on 32-bit though).
>
> I only need the library for one specific task. =C2=A0Reading in a .jpeg f=

ile
> and resizing it.
>
> Are there other libraries that I should consider trying and that might
> work on a 64-bit system? =C2=A0I see there is something called Camellia. =

=C2=A0Is
> that for Windows, or just Linux/Mac?
>
> I would really like to just use MiniMagick, but again, I can't seem to
> get the mini_magick gem to work on my 64-bit OS (it installs fine, but
> gives errors when it runs).
>
> Any ideas are most appreciated.
>
> --Alex
> --
> Posted via http://www.ruby-forum.com/.
>
>


 
Reply With Quote
 
 
 
 
Alex DeCaria
Guest
Posts: n/a
 
      02-19-2010
Kyle Schmitt wrote:
> Camellia is more image recognition/computer vision type stuff.
>
> If you're having trouble with RMagick/MiniMagick in 64 bit windows
> OSes, my guess is you need to install a more up-to-date 64bit build of
> ImageMagick or ImageScience. Check to make sure you have one of those
> installed first, then try your gem again.
>
> If it still doesn't work after you've installed ImageMagick or
> ImageScience, try using the convert.exe program that comes with them.
> You can always use ruby to shell out and run that program, if you
> can't get the gem to work inside of ruby. Not as clean or as nice,
> but workable for one-off situations.
>
> --Kyle
>
> On Fri, Feb 19, 2010 at 8:10 AM, Alex DeCaria


Thanks Kyle,

What's odd though is RMagick with Ruby 1.8 does work on my 64-bit OS, so
I think the version of ImageMagick I'm using is OK. Since there isn't
an RMagick gem for Ruby 1.9 that's why I decided to try MiniMagick
instead for 1.9. But, maybe it will be worth a try to get a 64-bit
build of ImageMagick or ImageScience and see how that goes.

I also like your suggestion of running the shell commmand outside of
Ruby as a backup. I hadn't thought of that.

--Alex
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing a div by resizing its borders Pil (Trustworthy from Experience) Javascript 9 04-21-2009 07:35 AM
Resizing a div by resizing its borders Proper Javascript 0 04-18-2009 08:02 PM
Using proprietary object libraries with C++ in a windows environment Rocky C++ 1 04-08-2004 02:55 PM
Using proprietary object libraries with C++ in a windows environment Rocky C++ 2 04-06-2004 01:30 PM
Re: jpeg resizing in a headless environment Marco Schmidt Java 2 09-04-2003 10:22 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57