Module: Technoweenie::AttachmentFu

Defined in:
lib/technoweenie/attachment_fu.rb,
lib/technoweenie/attachment_fu/backends/s3_backend.rb,
lib/technoweenie/attachment_fu/backends/db_file_backend.rb,
lib/technoweenie/attachment_fu/processors/gd2_processor.rb,
lib/technoweenie/attachment_fu/backends/cloud_file_backend.rb,
lib/technoweenie/attachment_fu/backends/file_system_backend.rb,
lib/technoweenie/attachment_fu/processors/rmagick_processor.rb,
lib/technoweenie/attachment_fu/processors/core_image_processor.rb,
lib/technoweenie/attachment_fu/processors/mini_magick_processor.rb,
lib/technoweenie/attachment_fu/processors/image_science_processor.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ActMethods, Backends, ClassMethods, InstanceMethods, Processors Classes: AttachmentError, ThumbnailError

Constant Summary collapse

@@default_processors =
%w(ImageScience Rmagick MiniMagick Gd2 CoreImage)
@@tempfile_path =
Rails.root.join( 'tmp', 'attachment_fu')
@@content_types =
[
  'image/jpeg',
  'image/pjpeg',
  'image/jpg',
  'image/gif',
  'image/png',
  'image/x-png',
  'image/jpg',
  'image/x-ms-bmp',
  'image/bmp',
  'image/x-bmp',
  'image/x-bitmap',
  'image/x-xbitmap',
  'image/x-win-bitmap',
  'image/x-windows-bmp',
  'image/ms-bmp',
  'application/bmp',
  'application/x-bmp',
  'application/x-win-bitmap',
  'application/preview',
  'image/jp_',
  'application/jpg',
  'application/x-jpg',
  'image/pipeg',
  'image/vnd.swiftview-jpeg',
  'image/x-xbitmap',
  'application/png',
  'application/x-png',
  'image/gi_',
  'image/x-citrix-pjpeg'
]