rmagick
RMagick: Get a list of available formats
With RMagick, is there any way to get a开发者_如何学Python list of all the available image formats for writing to? I want to fill a <select> tag with all of the different writable formats.Ruby 1[详细]
2023-02-25 13:59 分类:问答Why does cropping behave like that?
I\'ve got an image with dimensions 126x75: (rdb:1) p image.width 126 (rdb:1) p image.height 57 Now I want to crop it down to 50x50, beginning at the north west (top left corner). So I tried that (w[详细]
2023-02-25 09:40 分类:问答RMagick: get glyph metrics
I can\'t find out how to get all metrics of a given glyph with RMagick. I know there is a get_type_metric开发者_运维知识库s method which gives the baseline, height, ascent, descent, etc, but I would[详细]
2023-02-22 00:22 分类:问答Why am I having a problem installing rmagick
On Ruby 1.8.7 and rails 2.3.5 I get: gem install rmagick ERROR:Error installing rmagick: ERROR: Failed to build gem native extension.[详细]
2023-02-19 04:26 分类:问答Checking if a color is in a specific range of colors
How would you check if a rgb or hex value is within a specific range of colors? Preferably with ruby.[详细]
2023-02-17 12:58 分类:问答Resize image example on radiant CMS on ubuntu with back_door
I assume this is the same command as doing 开发者_运维技巧it in Sinatra. I want to server-side resize user-uploaded images to a standard width using back_door. I assume RMijick is the way to go - but[详细]
2023-02-16 21:27 分类:问答RMagick-like image processing library for Java
Is there any Java image processing library that is as easy to use as and provides the set of functionalities provided by RMagick? (I have seen JMagick and unfortunately that i开发者_Go百科s not the ki[详细]
2023-02-15 15:32 分类:问答sudo gem install rmagick Not working
I am installingrmagick,Its giving me error of Found partial installation at: /usr checking for ImageMagick version >= 6.4.9... no[详细]
2023-02-15 12:36 分类:问答rmagick custom fonts as pictures
I\'m using this script https://github.com/Joern/CustomFont/blob/master/custom_font.rb to generate pictures with text in a custom font.[详细]
2023-02-15 03:02 分类:问答Is it possible to get the average image color with RMagick?
I need to know the average color from an image when I upload it to my Ruby on Rails application. Is it possible to get the average co开发者_JAVA技巧lor value in HEX or in RGB to use this color later i[详细]
2023-02-14 11:09 分类:问答