Skip to content

Instantly share code, notes, and snippets.

@kaakaa
Created December 10, 2013 14:03
Show Gist options
  • Save kaakaa/7891022 to your computer and use it in GitHub Desktop.
Save kaakaa/7891022 to your computer and use it in GitHub Desktop.
RMagickサンプル
require 'rubygems'
require 'RMagick'
rgp = Magick::ImageList.new('test.pdf')
p rgp.format
p rgp.columns
p rgp.rows
p rgp.size
rgp.each_with_index { |val, index|
rgp[index].write("out#{index}.jpg")
}
@kaakaa
Copy link
Author

kaakaa commented Dec 12, 2013

課題

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment