strip edited image

This commit is contained in:
Pete Matsyburka committed 2026-10-03 09:10:31 +03:00
1 parent 78b0ce9828
commit 5896c9a2aa
1 file changed
+1 -1
+1 -1
View File
@@ -266,7 +266,7 @@ module Templates
['.png', 'image/png', {}]
end
data = image.write_to_buffer(extension, **format_args)
data = image.write_to_buffer(extension, strip: true, **format_args)
blob = ActiveStorage::Blob.create_and_upload!(
io: StringIO.new(data),