Created
July 8, 2012 16:12
-
-
Save sholloway/3071564 to your computer and use it in GitHub Desktop.
List avaible Image I/O inputs and outputs with macruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
framework "Quartz" | |
puts "Image I/O Input Formats:" | |
can_read_from = CGImageSourceCopyTypeIdentifiers() | |
CFShow(can_read_from) | |
puts " " | |
puts "Image I/O Output Formats:" | |
can_write_to = CGImageDestinationCopyTypeIdentifiers() | |
CFShow(can_write_to) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment