I don't think TImage.Transparent and TImageEnView.EnabledAlphaChannel are equivalent. ImageEnView1.EnabledAlphaChannel := True Procedure TForm1.Button2Click(Sender: TObject) I cannot get TImage to show the alpha channel of this BMP file.īmp.LoadFromFile( 'd:\201622282427_Bmp32.bmp' ) Please post your source 32bit BMP file (not a PNG).Īttach/wesleybobato/201622282521_Bmp32.zip Procedure TForm1.Button1Click(Sender: TObject) I created an example and it worked Correctly. But have you confirmed that TImage will even support the transparency of a 32bit TBitmap (not a PNG)? No, it does not, and I've added that to the to-do list. That is why I Said that This Incomplete this method. I tried everything for days but ImageEn, does not transfer the information Transparency Correctly.Īt No Time This Procedure Renders AlphaChannel. The only problem is that ImageEn does not transfer Correctlyīut ImageEn manages to capture Properly the Transparency of a TImage With Transparency. I believe that lack Some code in ImageEn to create a Compatibility Also, ImageEn does not assign the alpha channel with 32bit TBitmap. ImageEnView1.IO.LoadFromFile( 'C:\Users\Wesley\Desktop\RotateAndCrop\002.png' ) Īttach/wesleybobato/2016221161718_TImage.zipĭo you mean the transparency is not transferred? This is because you are assigning to the TImage has a bitmap, which means that you would need to transfer it as 32bit and I am not sure that TImage even supports Procedure TForm1.FormCreate(Sender: TObject) Procedure TForm1.BitBtn1Click(Sender: TObject) I found that ImageEn, does not work correctly with TImage. I've emailed you in response to your email. Remembering that the Saved properly, ImageEn Problem only occurs withĪttach/wesleybobato/2016211112628_WIC.zip When I open a PNG image with WIC and Saved. Profile Join Active Topics Forum FAQ Searchįorum membership is Free! Click Join to sign-up Username:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |