Compression error found in PNG file

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36580
    Pavel Poles
    Participant

    Hi,

    after upgrading from AlphaControls 9.14 to 10.22 I meet this error at runtime, when loading contents of TsAlphaImageList.

    It is caused by some PNG files, if replaced in ImageList, everything starts to work fine. The error appears only in runtime,

    at design time in ImageList editor Images are displayed correctly, and everything works fine.

    Find attached images causing this error. All other images (50+) work fine. Even these images didn't cause problem in version 9.14.

    best regards

    Pavel

    #53613
    Support
    Keymaster

    Hello! Thank you for images, I will research this issue soon.

    #53648
    Support
    Keymaster

    Hello again! Could you make a demo-app with the error, please? (I can't repeat the error in my test-app)

    What version of Delphi do you uses?

    #53659
    Pavel Poles
    Participant
    'Support' wrote:

    Hello again! Could you make a demo-app with the error, please? (I can't repeat the error in my test-app)

    What version of Delphi do you uses?

    Hi,

    you are right, I am no able to reproduce the erro in simple application. More over, when I completely deleted all DCUs of my application, the error appears again with completely different picture.

    Call stack always look like this

    Code:
    TLZ77Decoder.Decode($218279E,$218268C,132,65)
    TPNGGraphic.ReadRow($218268C,1637464)
    TPNGGraphic.LoadIDAT((no value))
    TPNGGraphic.LoadFromStream($2138494)
    LoadBmpFromPngStream($214C510,???)
    TsAlphaImageList.GenerateStdList
    TsAlphaImageList.Loaded

    error appears on Row 8 of 16×16 PNG image, function Inflate in TLZ77Decoder.Decode returns -3.

    I am using Delphi 7.1 on Windows 8.1 64bit.

    Pavel

    #53664
    Pavel Poles
    Participant

    Hi,

    finally seems to be Compiler issue, see my other post.

    Pavel

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