Skip to content

Commit 712ca2c

Browse files
committed
add missing flags
sine we now have proper flags support
1 parent baa3123 commit 712ca2c

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

lib/vips/foreign_keep.rb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module Vips
2+
# The set of filters for PNG save. See http://www.w3.org/TR/PNG-Filters.html
3+
#
4+
# * `:none` no filtering
5+
# * `:sub` difference to the left
6+
# * `:up` difference up
7+
# * `:avg` average of left and up
8+
# * `:paeth` pick best neighbor predictor automatically
9+
# * `:all` adaptive
10+
11+
class ForeignPngFilter < Symbol
12+
end
13+
end
14+
15+
16+

0 commit comments

Comments
 (0)