FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Printing/Display of bitmap inside a Resource
Posts: 10
Joined: Sat Dec 22, 2007 12:02 AM
Printing/Display of bitmap inside a Resource
Posted: Thu Oct 30, 2008 09:14 PM

Hi,

I am having a problem when printing or displaying some bitmaps inside the Resource. It prints or displays some line or lines (like a minus sign) in some area of the bitmap (it changes location when bitmap is resized). The "lines" are not actually part of the image. This doesn't happened if bitmap is loaded from a file instead of a Resource. It doesn't happened on all bitmaps and happened mostly on larger ones. I don't want to convert all my Resource images into files. Any help will be greatly appreciated.

Thanks
Bert

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Printing/Display of bitmap inside a Resource
Posted: Fri Oct 31, 2008 08:36 AM

Bert,

Please upload one of those bitmaps to rapidshare or similar and post the download url here so we can test it.

Please post also the source code that you are using it to display it, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10
Joined: Sat Dec 22, 2007 12:02 AM
Printing/Display of bitmap inside a Resource
Posted: Fri Oct 31, 2008 01:58 PM

Hi Antonio,
Thanks for the reply. I created a test application to show you the problem. You should see a short line in the upper middle of the displayed bitmap, not found in the resource. The "line" may disappear if you resize the bitmap.

http://rapidshare.com/files/159332540/TEST.ZIP

Continue the discussion