Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
GeneralRe: losing resolution when using PNG as background image Pin
Luc Pattyn12-Jul-08 3:19
sitebuilderLuc Pattyn12-Jul-08 3:19 
GeneralRe: losing resolution when using PNG as background image Pin
User 665812-Jul-08 3:31
User 665812-Jul-08 3:31 
GeneralRe: losing resolution when using PNG as background image Pin
Luc Pattyn12-Jul-08 4:24
sitebuilderLuc Pattyn12-Jul-08 4:24 
AnswerRe: losing resolution when using PNG as background image Pin
Luc Pattyn12-Jul-08 3:21
sitebuilderLuc Pattyn12-Jul-08 3:21 
GeneralRe: losing resolution when using PNG as background image Pin
Mostafa Siraj12-Jul-08 7:31
Mostafa Siraj12-Jul-08 7:31 
GeneralRe: losing resolution when using PNG as background image Pin
Luc Pattyn12-Jul-08 7:38
sitebuilderLuc Pattyn12-Jul-08 7:38 
GeneralRe: losing resolution when using PNG as background image Pin
Mostafa Siraj12-Jul-08 7:47
Mostafa Siraj12-Jul-08 7:47 
GeneralRe: losing resolution when using PNG as background image Pin
Luc Pattyn12-Jul-08 8:28
sitebuilderLuc Pattyn12-Jul-08 8:28 
Hi,

I can paint your PNG image on a Panel at different scales and it always looks good.

Your JPG captured image has several anomalies:
- where is the little close box coming from (top, almost right)?
- seems like it was first scaled down a lot, then scaled up again.
could it be the image gets loaded while the PictureBox is small, then the PB size gets increased
but the image itself is no longer available? or something similar?

Anyway I wouldn't trust a PictureBox much, and do my own scaling, hence SizeModes Normal and AutoSize
have my preference.

Have you been playing around with alpha channel, transparency?

Tell us the entire story, and show us some code.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Voting for dummies? No thanks. Dead | X|


AnswerRe: losing resolution when using PNG as background image Pin
User 665812-Jul-08 3:28
User 665812-Jul-08 3:28 
GeneralRe: losing resolution when using PNG as background image Pin
Mostafa Siraj12-Jul-08 7:26
Mostafa Siraj12-Jul-08 7:26 
QuestionPassing C# exception through COM to get _com_error Pin
Green Fuze11-Jul-08 22:57
Green Fuze11-Jul-08 22:57 
Questiondraw address dynamically Pin
ham rez11-Jul-08 22:41
ham rez11-Jul-08 22:41 
AnswerRe: draw address dynamically Pin
Abhijit Jana11-Jul-08 23:25
professionalAbhijit Jana11-Jul-08 23:25 
QuestionNewbie question: single/multiple method arguments Pin
Metal7611-Jul-08 22:34
Metal7611-Jul-08 22:34 
AnswerRe: Newbie question: single/multiple method arguments Pin
Metal7611-Jul-08 22:41
Metal7611-Jul-08 22:41 
GeneralRe: Newbie question: single/multiple method arguments Pin
subai12-Jul-08 1:38
subai12-Jul-08 1:38 
GeneralRe: Newbie question: single/multiple method arguments Pin
PIEBALDconsult12-Jul-08 2:58
mvePIEBALDconsult12-Jul-08 2:58 
GeneralRe: Newbie question: single/multiple method arguments Pin
Guffa12-Jul-08 11:19
Guffa12-Jul-08 11:19 
Questionhow to make the backgroundworker run untill the threads are completed Pin
Technobizz11-Jul-08 22:32
Technobizz11-Jul-08 22:32 
AnswerRe: how to make the backgroundworker run untill the threads are completed Pin
Luc Pattyn12-Jul-08 0:56
sitebuilderLuc Pattyn12-Jul-08 0:56 
AnswerRe: how to make the backgroundworker run untill the threads are completed Pin
Gareth H12-Jul-08 1:32
Gareth H12-Jul-08 1:32 
Questionhow to set values from datagrid to string variable Pin
Technobizz11-Jul-08 22:22
Technobizz11-Jul-08 22:22 
QuestionHow to read a streaming data and display on the browser? Pls help [modified] Pin
MyRunner2311-Jul-08 21:14
MyRunner2311-Jul-08 21:14 
AnswerRe: How to read a streaming data and display on the browser? Pls help Pin
MyRunner2312-Jul-08 15:52
MyRunner2312-Jul-08 15:52 
QuestionProblem with MarshalByRefObject Pin
Przemyslaw Celej11-Jul-08 20:51
Przemyslaw Celej11-Jul-08 20:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.