Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

DBImage Shows nothing.

edited May 2002 in General
I ve a table that stores JPEG images. I assigned DBImage to the field that
stores data. but it shows nothing.
I ve add ppJPEG to uses, set dbimage graphic type to JPEG. but it does not
show the pic.
I ve also tried BMP but it did not work. What is the problem?

Comments

  • edited May 2002
    What database are you using and are you receiving any errors when it tries
    to load the image?

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited May 2002
    I use Interbase and i dont get any error. It just shows nothing. I can see
    the images from my application. Jpegs images is not wrong.


    "Alexander Kramnik (Digital Metaphors)" wrote
  • edited May 2002
    First make sure that you are including ppJpeg in your uses clause. Second,
    how are you connecting to the database? If you are using BDE there might be
    a caching issue. If so, try increasing the cache size. Please download the
    demo below which loads a number of jpeg images. If the demo works on your
    machine try to match up your application with it. If it does not work then
    the problem is most likely with the database connectivity. Edit the params
    property of the database component on the form and try increasing the blob
    size and/or the blobs to cache settings.

    http://www.digital-metaphors.com/tips/InterBaseJpeg.zip

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited May 2002
    My app is an end user solution. Using IBX database. Creating pipelines from
    designer.

    "Alexander Kramnik (Digital Metaphors)" wrote
    in message news:3cda9567$1@dm500....
    be
    see
    wrote
  • edited May 2002
    Were you able to get the demo running on your machine or are you having the
    same problems with it?

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited May 2002
    Yes. Demo works fine. But it use Delphi's dataset components.

    "Alexander Kramnik (Digital Metaphors)" wrote
    in message news:3cdbdf64$1@dm500....
    the
    wrote
    might
  • edited May 2002
    There should not be a difference in whether you are using DADE in the
    designer or manually creating the Delphi dataset components. When you use
    DADE what happens behind the scenes is that those same Delphi dataset
    components are created without you explicitly knowing it. You should be able
    to, if you wish, to recreate the dataview in the demo from the designer.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.