Save image in Firebird with C#?

Asked

Viewed 82 times

0

I created a form for registration (CRUD) and I need to save the photo of the product or person for each registration, until I found on the Internet some things with OpenDialog, but nothing conclusive with Firebird.

  1. Is the photo save field BLOB type? But what is the Segment Size and what size put?

  2. Can someone help me with this code, and if I can determine the file size and also force how JPG, just so the bank doesn’t lose performance?

  • https://www.codeproject.com/Articles/17350/Firebird-and-Images a code that can be used as a reference

  • 1 - If it is a byte array yes. The segment size is the segment size, when you save a file it splits it into segments, if you don’t put anything, the default is 80 2 - Shows the code that we already have to see :D

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.