Skip to content

Instantly share code, notes, and snippets.

@chopmo
Created May 11, 2012 06:04
Show Gist options
  • Select an option

  • Save chopmo/2657836 to your computer and use it in GitHub Desktop.

Select an option

Save chopmo/2657836 to your computer and use it in GitHub Desktop.
manipulate! do |img, index, options|
options[:read] = {
:dpi => 150 # Or whatever the option name is
}
options[:write] = {
:quality => 50,
:depth => 8
}
img
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment