Forum > Databases

DBImage: how to use?

<< < (7/7)

wp:
I am rather sure that our TDBImage contains much of what you request. Please prepare a sample project demonstrating where DBImage is not sufficient.

mariodosreis:
TDBimage does not work with Zeos  no even with:
procedure TForm1.DBImage1DBImageRead(Sender: TObject; S: TStream;
  var GraphExt: string);
begin
   GraphExt := 'jpg';
end;

procedure TForm1.DBImage1DBImageWrite(Sender: TObject; S: TStream;
  GraphExt: string);
begin
  if GraphExt <> 'jpg' then
    raise Exception.Create('Só há suporte para imagens *.JPEG');
end;

However it work's prety good with Firebird3 + IBX from https://www.mwasoftware.co.uk/personal-databases

wp:
I wrote a small demo which collects several image types in an sqlite3 database and displays them in a DBImage. It's working correctly for me.

rvk:

--- Quote from: mariodosreis on June 22, 2022, 06:22:18 pm ---TDBimage does not work with Zeos  no even with:
<snip>
However it work's prety good with Firebird3 + IBX from https://www.mwasoftware.co.uk/personal-databases

--- End quote ---
WHAT doesn't work? Do you get errors?

If it works with IBX but not with Zeos, the problem could be in the way you use zeos.
Like wp suggested, create a small sample project to show the problem.

Navigation

[0] Message Index

[*] Previous page

Go to full version