Page 1 of 1

Printing/Display of bitmap inside a Resource

Posted: Thu Oct 30, 2008 9:14 pm
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

Posted: Fri Oct 31, 2008 8:36 am
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

Posted: Fri Oct 31, 2008 1:58 pm
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