Printing/Display of bitmap inside a Resource

Post Reply
hterce
Posts: 10
Joined: Sat Dec 22, 2007 12:02 am

Printing/Display of bitmap inside a Resource

Post by hterce »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
hterce
Posts: 10
Joined: Sat Dec 22, 2007 12:02 am

Post by hterce »

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
Post Reply