Reduce FGDB Attachment Size

197
2
11-17-2023 10:34 AM
Blevins_Mark
Occasional Contributor

Is there a method that will allow one to reduce the size (ie photo resolution) of fgdb record attachments, while they are still attached to the records inside the fgdb (as opposed to downloading the files and resizing outside of the fgdb)?

0 Kudos
2 Replies
MichaelVolz
Esteemed Contributor

If the attachments are stored in a BLOB field, which I think they would be, I do not think you can make changes to the attachments.  I think you would need to write the attachments out to a different format, make the resolution changes, and then save back in BLOB format.  Seems like a ton of work.

Blevins_Mark
Occasional Contributor

Thanks. I think you are right on all fronts, especially the ton of work part.

0 Kudos