mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 23:32:33 -05:00
use new_from_memory_copy
This commit is contained in:
1 parent
d5738a0631
commit
9fcaef4cf7
4 files changed
+6
-6
No files matched your search
@@ -193,7 +193,7 @@ module Templates
|
||||
|
||||
data, width, height = page.render_to_bitmap(size_key => size)
|
||||
|
||||
Vips::Image.new_from_memory(data, width, height, 4, :uchar)
|
||||
Vips::Image.new_from_memory_copy(data, width, height, 4, :uchar)
|
||||
end
|
||||
|
||||
def sort_fields(fields, y_threshold: 0.01)
|
||||
|
||||
Reference in new issue
Block a user