We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From GraphicsMagick docs:
Use +repage to set the image page offsets to default.
http://www.graphicsmagick.org/GraphicsMagick.html#details-repage
Here is an example command:
convert logo.png \ -resize 160x -resize 'x160<' -resize 50% \ -gravity center -crop 80x80+0+0 +repage space_fill_2.jpg
In Ruby with mini_magick:
image.combine_options do |c| c.resize '160x' c.resize 'x160<' c.resize '50%' c.gravity 'center' c.crop "80x80+0+0" c.repage end
This sends -repage and it throws error:
-repage
MiniMagick::Error: Command ("gm mogrify -resize 160x -resize x160< -resize 50% -gravity center -crop 80x80+0+0 -repage logo.png") failed: {:status_code=>1, :output=>"gm mogrify: Option '-repage' requires an argument or argument is malformed.\n"} from --/bundler/gems/minimagick-34a9776b0002/lib/mini_magick.rb:420:in `run'
The text was updated successfully, but these errors were encountered:
c.repage.+
Not obvious and not documented.
Sorry, something went wrong.
@NARKOZ feel free to document it.
Successfully merging a pull request may close this issue.
From GraphicsMagick docs:
http://www.graphicsmagick.org/GraphicsMagick.html#details-repage
Here is an example command:
In Ruby with mini_magick:
This sends
-repage
and it throws error:The text was updated successfully, but these errors were encountered: