Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-03

Can anyone else read the attached bitmap using TImage?

6 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys
to Dominique Louis
Dominique Louis wrote 5 lines
Hi all, I'm not able to display the attached bitmap using TImage or TImageList under Mac OS X? Can anyone else display it on another Operating system?

I couldn't under fpGUI. :-(
I had a look with GIMP and it seems to be a 32bit ARGB image. After using GIMP to save it as a 24bit RGB image, I could display it fine in fpGUI.

I guess this doesn't say much though, because fpGUI's BMP image support is not based on fpimage.pp or Lazarus LCL.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Dominique Louis
to Dominique Louis: I'm not able to display the attached bitmap using TImage or TImageList under Mac OS X?…
Dominique Louis wrote 5 lines
Hi all, I'm not able to display the attached bitmap using TImage or TImageList under Mac OS X? Can anyone else display it on another Operating system?

I managed to get Win32 Lazarus up and running and it works fine with both TImage or TImageList on there, I'll see if it works with Linux later today.

I've submitted a bug report at least identifying as a Mac OS X problem.

Dominique.

Reply by email

Dominique Louis
to Graeme Geldenhuys: I couldn't under fpGUI. :-( I had a look with GIMP and it seems to be a 32bit ARGB image.…

I'm hardly a Lazarus expert, but from trawling through the Carbon code it appears the things are getting messed up in
TCarbonWidgetSet.RawImage_CreateBitmaps or TCarbonBitmap.Create. I'm not sure which and would need the guidance of someone with more experience in this area than myself.

Thing is I need to get it fixed, at least on my local version, by next week as I have a Beta release shortly after that. So any help would be greatly appreciated.

Dominique.

Graeme Geldenhuys wrote 19 lines
On 20/03/2008, Dominique Louis wrote: > Hi all, > I'm not able to display the attached bitmap using TImage or > TImageList under Mac OS X? > > Can anyone else display it on another Operating system? I couldn't under fpGUI. :-( I had a look with GIMP and it seems to be a 32bit ARGB image. After using GIMP to save it as a 24bit RGB image, I could display it fine in fpGUI. I guess this doesn't say much though, because fpGUI's BMP image support is not based on fpimage.pp or Lazarus LCL. Regards, - Graeme -

Reply by email

Graeme Geldenhuys
to Dominique Louis
Dominique Louis wrote
Thing is I need to get it fixed, at least on my local version, by next week as I have a Beta release shortly after that. So any help would be greatly appreciated.

Sorry, my knowledge of Carbon (or even the LCL internals) is non-existing. Felipe might be able to help you debug this. He seems to be an expert in the Mac department.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email