8000 switch to format-string · libvips/ruby-vips@1a43ca0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a43ca0

Browse files
committed
switch to format-string
1 parent b3ad0d6 commit 1a43ca0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/vips/image.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ def write_to_buffer format_string, **opts
628628

629629
# note the format_string for savers
630630
image = self.mutate do |x|
631-
x.set_type! Vips::REFSTR_TYPE, "format_string", format_string
631+
x.set_type! Vips::REFSTR_TYPE, "format-string", format_string
632632
end
633633

634634
buffer = Vips::Operation.call saver, [image], opts, option_string
@@ -674,7 +674,7 @@ def write_to_target target, format_string, **opts
674674

675675
# note the format_string for savers
676676
image = self.mutate do |x|
677-
x.set_type! Vips::REFSTR_TYPE, "format_string", format_string
677+
x.set_type! Vips::REFSTR_TYPE, "format-string", format_string
678678
end
679679

680680
Vips::Operation.call saver, [image, target], opts, option_string

0 commit comments

Comments
 (0)
0