Jump to content

banaguitar

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. banaguitar

    Graphics32 -> Load png into TBitmap32, wrong size

    Ok, same method, I will try.
  2. banaguitar

    Graphics32 -> Load png into TBitmap32, wrong size

    Okay, which method do I need to do this?
  3. banaguitar

    Graphics32 -> Load png into TBitmap32, wrong size

    I mean, I don't know how to adjust the size as shown above
  4. banaguitar

    Graphics32 -> Load png into TBitmap32, wrong size

    I'm bumping up here
  5. banaguitar

    Graphics32 -> Load png into TBitmap32, wrong size

    Something like this.
  6. banaguitar

    Graphics32 -> Load png into TBitmap32, wrong size

    Thank you. The "arrow" is too big. How can I adjust the size of the arrow?
  7. banaguitar

    Graphics32 -> Load png into TBitmap32, wrong size

    This looks good, thank you, but it's not centered. I try to figure out how to position the arrow at top center.
  8. banaguitar

    Graphics32 -> Load png into TBitmap32, wrong size

    Good to know, but SetSize doesn't change anything in this case. You agree that the png looks not good at the edges? How to adjust the size of the png?
  9. banaguitar

    Graphics32 -> Load png into TBitmap32, wrong size

    Hello, thanks for help. Here is a minimal example. Example Layer.zip
  10. banaguitar

    Graphics32 -> Load png into TBitmap32, wrong size

    Thank you. I mean a normale size. The png should be clearly visible. The proportions are wrong and the edges of the icon look horrible.
  11. Hello, I want to load a png, which is a clickable button, into a TBitmap32, but the size of the png is wrong. Here is my code: ImgView.Layers.Clear; ImgView.scalemode := smResize; ImgView.Bitmap.LoadFromFile('background.jpg'); BL := TBitmapLayer.Create(ImgView.Layers); LoadBitmap32FromPNG(BL.bitmap,'button.png'); BL.Bitmap.DrawMode := dmtransparent; BL.Scaled := true; BL.OnClick := OnClickButton; I need your help. Thank you very much. Kind regards
×