I have a routine that reads a sequence of 640x480 bitmaps from an SQL database to resize them to a thumbnail size using the reflection method and then write them back to another field in the same SQL row.
There are a couple examples on the forum of reading the data, caching the bitmap to disk and then reading the file into an inputstream before writing to SQL.
I cannot however see an example of creating a picture buffer from a bitmap without going via a cached file..... Any offers?
There are a couple examples on the forum of reading the data, caching the bitmap to disk and then reading the file into an inputstream before writing to SQL.
I cannot however see an example of creating a picture buffer from a bitmap without going via a cached file..... Any offers?