Board index » delphi » Size of Image in blob file

Size of Image in blob file


2005-03-30 06:03:06 PM
delphi256
hi there!
i got little databse with some records... there is a blob field that looks
like that
COVER BLOB SUB_TYPE 0 SEGMENT SIZE 80
i got a questrion is there any way to find out some info about size of
this img ?
a mean with or height?
 
 

Re:Size of Image in blob file

Quote
i got little databse with some records... there is a blob field that
looks like that
COVER BLOB SUB_TYPE 0 SEGMENT SIZE 80
i got a questrion is there any way to find out some info about size of
this img ?

a mean with or height?
There are UDFs out there to get the blob data size, but not the
width/height of an image.
You could do that with a small Delphi application easily though.
--
HTH,
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database, MS SQL Server and
NexusDB V2 (NEW!)
Upscene Productions
www.upscene.com
 

Re:Size of Image in blob file

Quote

You could do that with a small Delphi application easily though.

yes i will try to do this in delphi propably.. but how to recognize size ?
 

Re:Size of Image in blob file

Quote
>You could do that with a small Delphi application easily though.
>

yes i will try to do this in delphi propably.. but how to recognize size ?
Try to load the graphic into a TImage and read the TPicture.Width and
.Height properties.
--
Best Regards,
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database, MS SQL Server and
NexusDB V2 (NEW!)
Upscene Productions
www.upscene.com
 

Re:Size of Image in blob file

Quote
Try to load the graphic into a TImage and read the TPicture.Width and
.Height properties.
ok.. it works fine...thx for help.
mk