Printing/Display of bitmap inside a Resource

Printing/Display of bitmap inside a Resource

Postby hterce » Thu Oct 30, 2008 9: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
hterce
 
Posts: 10
Joined: Sat Dec 22, 2007 12:02 am

Postby Antonio Linares » Fri Oct 31, 2008 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby hterce » Fri Oct 31, 2008 1: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
hterce
 
Posts: 10
Joined: Sat Dec 22, 2007 12:02 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 79 guests

cron