Click here to Skip to main content
15,900,447 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionHow big can be a .NET Application Pin
zkey20-Apr-05 23:41
zkey20-Apr-05 23:41 
AnswerRe: How big can be a .NET Application Pin
Carl Mercier21-Apr-05 15:23
Carl Mercier21-Apr-05 15:23 
AnswerRe: How big can be a .NET Application Pin
Dave Kreskowiak21-Apr-05 15:59
mveDave Kreskowiak21-Apr-05 15:59 
AnswerRe: How big can be a .NET Application Pin
Robert Rohde23-Apr-05 7:53
Robert Rohde23-Apr-05 7:53 
GeneralRe: How big can be a .NET Application Pin
23-Apr-05 9:27
suss23-Apr-05 9:27 
Generalunboxing Pin
ganeshMohan20-Apr-05 21:54
ganeshMohan20-Apr-05 21:54 
GeneralRe: unboxing Pin
Anonymous20-Apr-05 23:13
Anonymous20-Apr-05 23:13 
GeneralInterpolating Pin
RekoTiira20-Apr-05 11:03
RekoTiira20-Apr-05 11:03 
Hey, I am just wondering is there a way to turn off interpolating when drawing completely?
I am trying to draw an image in 2x size.
At the moment I am setting the Interpolating property to: System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor
This is the "lowest" setting I can find for it. With this it's fine, except there is a line in rightmost column & bottommost row. I tried to fix the solution by resizing the image adding 1 pixel to the width, and one to the height, and then I copied leftmost column to the rightmost, and topmost row to the bottommost. This works fine, but I am getting a feeling that this isn't a good way to solve this. There [b]has[/b] (I hope at least) to be a way to turn the interpolating off.

If there's not, I want to know if there's a better solution? Maybe I should write my own DrawImage method, but I am quite unsure which would be the best way to do this. Using SetPixel() and GetPixel() of Bitmap class would most likely be too slow. I could use LockBits() to retrieve the pixel data, and then play around a bit to copy the pixels to the destination Graphics. I want to stay away from "unsafe" code, as long as there is good enough design solution available.

Thanks.
GeneralRe: Interpolating Pin
Peter Ritchie24-Apr-05 9:37
Peter Ritchie24-Apr-05 9:37 
GeneralMSVC6 to C++.Net Migration Pin
Brad Bruce20-Apr-05 2:32
Brad Bruce20-Apr-05 2:32 
GeneralRe: MSVC6 to C++.Net Migration Pin
Peter Ritchie24-Apr-05 9:39
Peter Ritchie24-Apr-05 9:39 
GeneralSingle Precision not precise Pin
AJGardiner20-Apr-05 1:14
professionalAJGardiner20-Apr-05 1:14 
GeneralRe: Single Precision not precise Pin
Mike Dimmick20-Apr-05 1:33
Mike Dimmick20-Apr-05 1:33 
GeneralRe: Single Precision not precise Pin
Peter Ritchie24-Apr-05 9:41
Peter Ritchie24-Apr-05 9:41 
GeneralWSAENOBUFS (socket error 10055) Pin
carlos_rocha20-Apr-05 0:01
carlos_rocha20-Apr-05 0:01 
Generalfiles transfer via FTP Pin
lokee19-Apr-05 7:51
lokee19-Apr-05 7:51 
Generaldeployment Pin
madretierra19-Apr-05 4:50
madretierra19-Apr-05 4:50 
GeneralRe: deployment Pin
rwestgraham22-Apr-05 19:20
rwestgraham22-Apr-05 19:20 
GeneralRe: deployment Pin
madretierra23-Apr-05 5:55
madretierra23-Apr-05 5:55 
General.Net compact framework Pin
Pelkmans Mark17-Apr-05 23:11
Pelkmans Mark17-Apr-05 23:11 
GeneralReading unicode text file in FCL Pin
NOTEPAK16-Apr-05 19:38
NOTEPAK16-Apr-05 19:38 
GeneralRe: Reading unicode text file in FCL Pin
Mike Dimmick18-Apr-05 22:54
Mike Dimmick18-Apr-05 22:54 
GeneralRe: Reading unicode text file in FCL Pin
NOTEPAK19-Apr-05 8:45
NOTEPAK19-Apr-05 8:45 
GeneralCookies and winform Pin
Anonymous16-Apr-05 2:52
Anonymous16-Apr-05 2:52 
GeneralRe: Cookies and winform Pin
Steven Campbell19-Apr-05 6:49
Steven Campbell19-Apr-05 6:49 

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.