We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24679e1 commit 6def9e8Copy full SHA for 6def9e8
lib/vips.rb
@@ -452,6 +452,19 @@ module GObject
452
# like `:uchar`. They are documented as a set of classes for convenience, see
453
# {Vips::BandFormat}, for example.
454
#
455
+# # Flags
456
+#
457
+# Some operations take a set of flags as an argument, for example
458
+# {Image#pngsave} can be given a set of filters to use. These are documented
459
+# as a set of classes, see {Vips::ForeignPngFilter}, for
460
+# example.
461
462
+# You can set flag arguments with an array of symbols, perhaps:
463
464
+# ```ruby
465
+# image.pngsave "x.png", filter: [:sub, :up]
466
+# ```
467
468
# # Draw operations
469
470
# There are two ways of calling the libvips draw operations, like
0 commit comments