Solved

I have photos stored in a database. Normally, I simply use an AttributeFileWriter to extract the photo. However, I want to use the JPEG Writer. Can JPEG Writer be used from an Attribute?

  • 15 April 2022
  • 2 replies
  • 25 views

I wish to use the JPEG writer rather than the attribute file writer, because I want to add EXIF data to the image that doesn't exist in the original BLOB. I do not see a way to add this EXIF information when simply using an attribute File Writer.

icon

Best answer by chrisatsafe 18 April 2022, 22:54

View original

2 replies

Badge +2

Hi @bellrosemike​ ,

 

Instead of using the AttributeFileWriter, try the RasterReplacer and connect it to a JPEG writer. The RasterReplacer decodes a binary attribute containing encoded rasters stored as Blobs, replacing the feature’s geometry with the decoded raster.

Thank you Chris, that method worked perfectly. I didn't even know that the RasterReplacer transformer existed, but it did exactly what I needed.

Reply