Chakravarthy Posted September 5, 2005 Share Posted September 5, 2005 I'm the author of this post, unfortunately, i posted that with out login. In other words of my requirement, is there any tool that can be consumed in .ASPX page, so that i can edit the image, just like using my MSPaint on windows. Any information on this is highly appricated. Regards, DSK Chakravarthy Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 5, 2005 Share Posted September 5, 2005 Do you want a viewer, or the whole editor? If you just want a viewer for .PDN files on an ASPX page, you can reference PaintDotNet.Data.dll and use an instance of PdnFileType and call its Load method. That will give you a Document instance which you can then Render() to a Surface, and then from the Surface you can call CreateAliasedBitmap and do whatever you want with that. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Chakravarthy Posted September 6, 2005 Author Share Posted September 6, 2005 Thanks Rick, Do you have any example for the same? Secondly, if i use the PaintDotNet.Data.dll assembly, can i have a features like zoom in, zoom out, pick the color of any pixel, replce the pixel color with any other,.... etc kind works? Regards, DSK Chakravarthy Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 6, 2005 Share Posted September 6, 2005 No, we don't have sample code for what you're trying to do. Paint.NET was never engineered to work on a web page, it doesn't work like that at all. PaintDotNet.Data.dll has code for reading and writing data, and for rendering it to the screen in the context of WinForms, not WebForms. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.