module Magick
Copyright © 2002 - 2009 Timothy P. Hunter Copyright © 2009 - RMagick contributors
Copyright © 2002 - 2009 Timothy P. Hunter Copyright © 2009 - RMagick contributors
Copyright © 2002 - 2009 Timothy P. Hunter Copyright © 2009 - RMagick contributors
Copyright © 2002 - 2009 Timothy P. Hunter Copyright © 2009 - RMagick contributors
Copyright © 2002 - 2009 Timothy P. Hunter Copyright © 2009 - RMagick contributors
Copyright © 2002 - 2009 Timothy P. Hunter Copyright © 2009 - RMagick contributors
Defines paint server classes. Eventually this will include gradients.
Copyright © 2002 - 2009 Timothy P. Hunter Copyright © 2009 - RMagick contributors
RVG is the main class in this library. All graphic elements must be contained within an RVG object.
Copyright © 2002 - 2009 Timothy P. Hunter Copyright © 2009 - RMagick contributors
Copyright © 2002 - 2009 Timothy P. Hunter Copyright © 2009 - RMagick contributors
Text-related classes
Copyright © 2002 - 2009 Timothy P. Hunter Copyright © 2009 - RMagick contributors
Copyright © 2002 - 2009 Timothy P. Hunter Copyright © 2009 - RMagick contributors
Constants
- AreaGeometry
- AspectGeometry
- GreaterGeometry
- IMAGEMAGICK_VERSION
- LessGeometry
- Long_version
- MANAGED_MEMORY
- MIN_IM6_VERSION
- MIN_IM7_VERSION
- MIN_RUBY_VERSION
- Magick_features
- Magick_version
- MinimumGeometry
- PercentGeometry
- VERSION
- Version
Public Class Methods
Source
# File lib/rmagick_internal.rb, line 44 def formats(&block) formats = init_formats if block formats.each(&block) self else formats end end
Describes the image formats supported by ImageMagick. If the optional block is present, calls the block once for each image format. The first argument, k, is the format name. The second argument, v, is the properties string described below.
-
Bis “*” if the format has native blob support, or “ ” otherwise. -
Ris “r” if ImageMagick can read that format, or “-” otherwise. -
Wis “w” if ImageMagick can write that format, or “-” otherwise. -
Ais “+” if the format supports multi-image files, or “-” otherwise.
@overload formats
@return [Hash] the formats hash
@overload formats
@yield [k, v] @yieldparam k [String] the format name @yieldparam v [String] the properties string @return [Magick]
@example
p Magick.formats
=> {"3FR"=>" r-+", "3G2"=>" r-+", "3GP"=>" r-+", "A"=>"*rw+",
...