79786524

Date: 2025-10-09 14:20:56
Score: 0.5
Natty:
Report link

When generating ActiveStorage variants with libvips you may strip exif data by passing saver: { strip: true} argument. E.g.

photo.file.variant(
    resize_to_fill: [102, 102, {crop: "attention"}],
    convert: 'avif',
    saver: { 
      quality: 40,
      strip: true
    }
)

If you are using imagick as processor, according to doc you may use strip: true as param of variant function, but I haven't tested this.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: remo