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 baa3123 commit 712ca2cCopy full SHA for 712ca2c
2 files changed
lib/vips/foreign_keep.rb
@@ -0,0 +1,14 @@
1
+module Vips
2
+ # Savers can be given a set of metadata items to keep.
3
+ #
4
+ # * `:none` remove all metadata
5
+ # * `:exif` keep EXIF metadata
6
+ # * `:xmp` keep XMP metadata
7
+ # * `:iptc` keep IPTC metadata
8
+ # * `:icc` keep ICC profiles
9
+ # * `:other` keep other metadata
10
+
11
+ class ForeignKeep < Symbol
12
+ end
13
+end
14
lib/vips/foreign_png_filter.rb
@@ -0,0 +1,16 @@
+ # The set of filters for PNG save. See http://www.w3.org/TR/PNG-Filters.html
+ # * `:none` no filtering
+ # * `:sub` difference to the left
+ # * `:up` difference up
+ # * `:avg` average of left and up
+ # * `:paeth` pick best neighbor predictor automatically
+ # * `:all` adaptive
+ class ForeignPngFilter < Symbol
15
16
0 commit comments