TsVirtualImageList my drop a scan line.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #68771
    HeDiBo
    Participant

    The accompanying project shows a TsImage with an unfortunate drop of the bottom scan line:

    Attachments:
    You must be logged in to view attached files.
    #68778
    Support
    Keymaster

    Thank you for the demo.
    When this AV should occurs?

    #68787
    HeDiBo
    Participant

    Thank you for the demo.
    When this AV should occurs?

    There is no AV. The picture looses its bottom scanline. That is a (small) problem.

    #68805
    Support
    Keymaster

    I see and understand now, thanks.
    I have researched it, the reason of this situation is in the stretching procedure. Size of the image is greatly reduced and some pixels are lost. Were tested standard GDI stretch procedure, GDI+ procedure and own stretching procedures. Last line was cropped in all cases. I haven’t idea how to improve it now, maybe make source image smaller…

    #68816
    HeDiBo
    Participant

    Thanks.
    I think I have to make the source image a bit LARGER with transparent pixels at the bottom.

    #68819
    Stephane Senecal
    Participant

    @AlphaSkin, have you tried to play with InterpolationMode in Gdi+ ?

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #68828
    HeDiBo
    Participant

    I made the original pictures 260×260, although the max is 256×256. It solved the problem.
    Please, close this topic.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.