Jump to content
rgomezc

12.3 and certaing PNGs: error rendering them

Recommended Posts

Hello,

 

I noticed since upgrading to 12.3 that certain PNG are rendered incorrectly by the TPngImage class. For instance, the attached PNG.

 

I have opened a bug report on Jira/QP: https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-3382.

 

Just wondering if anybody else can confirm this, and if somebody can think of a workaround?

 

 

qr-factura3.png

Share this post


Link to post

A image showing what "rendered incorrectly" looks like would make it a lot easier to confirm reproduction.

Share this post


Link to post

Sorry, I attached it to the QP item but not here. This is an example from a vanilla RS 12.3 installation on a VM:

 

686842063_Capturadepantalla2025-04-24171215.thumb.png.912c216a643a0028a0eb31bca5bc5eb9.png

 

That object has this code on the dfm:

 

  object Image1: TImage
    Left = 24
    Top = 24
    Width = 577
    Height = 393
    Picture.Data = {
      0954506E67496D61676589504E470D0A1A0A0000000D49484452000003900000
      0390010300000075820C6700000006504C5445000000FFFFFFA5D99FDD000000
      0274524E53FFFFC8B5DFC7000005124944415478DAEDD8D18E5C2B0C4451F3FF
      1FED44CA80AB0C9DFB7215C9AD7DA4C9F401E3E579AAD02BE35F3F0B12121212
      1212121212121212F24BC9654BF9FB3DCFDA9F9156545D0DB94E6D9EBDF553B1
      CE49EF0D09090909093997EC6DE2D12CACD11E21E5DFD7B8BD372424242424E4
      64D28FA4B58DB3E7AD96AD7F8A75EF0D0909090909F92DE47EEE905E6DACB0A1
      E21A29212121212121BF965C767843D1F676BD56BD56212121212121BF87DC4F
      5D64B5D1E7516A986ADFC9D61B12121212127228A98F5E45FF8F1FEF0D090909
      09093995BC9FA5253F073D8A7795AED60925AEDE90909090909023C9D50A3BB5
      E33664355A759C5DBDC62EEB64FF2B8084848484841C46D681B0C679D61C75C8
      BFF4ADB7B07509764848484848C8B1A437ECA1DB9B57C347049F117B75404242
      4242428E27E33AE4908774BFE4EAD558AFB5859F1D4848484848C891E42EAA2B
      E80EDC57F0F650F69A90DFF5D8C090909090909043C97D38A5C47F87D454E486
      EDF731C2F64F6F4848484848C8B1A4876F0A72833AD83BACC3A0657B90909090
      909053496F1272743534DA08FD32ABE7B45B4042424242420E271DD566FD4AAB
      8CD6FA4F3D3EC2CF1A2424242424E44852AE9B2790F32F2DAB910ED323BB0668
      5D212121212121C7929D08695935AB8D968266EBE3E7A4232424242424E44832
      CE52B55A0F5A1BFB28F7C9908E15E30909090909093998D4B677BB3BC4A37D0E
      6BBBEC77F4AE90909090909063C98A608F55FD1AD747D2131AF2D14EEB589090
      909090909349FF3237A4EC15CF37B6CE70AB0DA97B3FFD2021212121214792FE
      A56DFCC7B175C115DD3DA6950A4848484848C8D1E43BA2AB8105EC21E20CB984
      BD6BC2BA424242424242CE2543E00AE1386F1EB97D980A6D1F2EAE3A48484848
      48C8B9E4AB4508D4AFB3BDAEAFDC3B35122424242424E454525B456DB5E31161
      FB1EBDD5DAB9904E7F1E4848484848C8A964C89602CBFECD47D52B84DFBD5A44
      4342424242428E23F53A5A03A47DD2B6CB008DE66CA7970CFBB3030909090909
      3992BC4377FFEED7556FEF44BDEB95F81E0312121212127226590BDA3C0E700F
      F58AE77CBCF501202121212121E792AB95D57B0FDED5D8FD79D9407D00FF1219
      12121212127226A901BA9F1ECAEBDACD6BBCAABA63BE56202121212121A7920E
      7934EF1D0FF094158F6F6B7FD6A51612121212127228A9115DAC5F4B439AA47D
      FE14D1D5C1868784848484841C4A16A5E15A6D430E6BDC7E1A366418FD032021
      21212121E792EF2BE87DE48EDC5EAB5C3C3E434242424242CE254396BCA15F66
      E37C8EB3A67418AC516E382424242424E4485203F68EDB3A960DD3D84E19C1C3
      BD8F0B090909090939930C21E230FDC0E7A1EA62AB675E175B4848484848C8E9
      649C83DE54CBFD8AFA7E8F76CE7B4142424242424E25DF019DCF51426A4FE89E
      B56CBDB42A20212121212147931AB1B5B99E2DA337B8A06C5D3CCC2121212121
      21E792DAC2A3793FD9F07B7DBFDD671D8584848484849C4CD6530D3496FB57B9
      1AE47A05EE6BBBDFE90309090909093992F450EDD06ED6BFE4FDF4A5B05F6F97
      FC404242424242CE26FD62DBA3D7AFB91AD17186AB5DFD13FC229C9090909090
      90C3498FD4B0431ABA61FBF9602BE23B1D9090909090905F457A70DFE1AC51EE
      4DFBF55847818484848484FC2632ACB006F04F15DC7A212E4A6B369D90909090
      9090A3C93A94D76FBFA2FABB36ECEDFD6C4242424242420E27F5D1F0EDEB5AED
      75298856F6108784848484849C4AFEDB07121212121212121212121212F20BC9
      5F587F72D194AAD03B0000000049454E44AE426082}
    Proportional = True
    Stretch = True
  end

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×