473,803 Members | 3,886 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bitmap Manipulation

Hi,

I am writing a a C# application that needs to display a bitmap to the user
and allow the user to manipulate the bitmap. e.g, add edit bitmap, like in
an application such as photoshop or Corel Draw etc.

I'd like to know how i can achieve this in a C# application. I assume i
would have to embed a third party application in my C# application to allow
the user to edit the bitmap.

I'd appreciate any suggestions on how to get this to work,

Thanks In Advance,
Macca
Nov 17 '05 #1
3 6207
No third party controls needed; However you will have some fun playing
with GDI+.

Here are some resources to get your started:

http://msdn.microsoft.com/library/de...ary/en-us/gdic...

http://msdn.microsoft.com/library/de...ary/en-us/csco...

http://msdn.microsoft.com/vcsharp/do...les/23samples/ (Using
GDI+ with C# -- about mid page)

Also, if you are inclined to read a book, I believe that "Programmin g
Windows with C#" written by Charles Petzold is probably the most
exhausted resource available (his previous book "Programmin g Windows,
5th Edition" is known as "The Petzold" is also an excellent reference,
if a bit dated).

Hope that helps get you started in the right direction!

Cheers.

Cuyler

Nov 17 '05 #2
Hi,

In addition to macca's links you should definely check Bob powell site :
http://www.bobpowell.net/

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Macca" <as****@dsl.pip ex.com> wrote in message
news:Bs******** ************@pi pex.net...
Hi,

I am writing a a C# application that needs to display a bitmap to the user
and allow the user to manipulate the bitmap. e.g, add edit bitmap, like
in
an application such as photoshop or Corel Draw etc.

I'd like to know how i can achieve this in a C# application. I assume i
would have to embed a third party application in my C# application to
allow
the user to edit the bitmap.

I'd appreciate any suggestions on how to get this to work,

Thanks In Advance,
Macca

Nov 17 '05 #3
Hi Cuyler,

Thanks for the tips, however the first two links i get "Page Not Found".

If you find out what the links should be, let me know!

Cheers
Macca

"Cuyler" <cu**********@g mail.com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
No third party controls needed; However you will have some fun playing
with GDI+.

Here are some resources to get your started:

http://msdn.microsoft.com/library/de...ary/en-us/gdic...

http://msdn.microsoft.com/library/de...ary/en-us/csco...

http://msdn.microsoft.com/vcsharp/do...les/23samples/ (Using
GDI+ with C# -- about mid page)

Also, if you are inclined to read a book, I believe that "Programmin g
Windows with C#" written by Charles Petzold is probably the most
exhausted resource available (his previous book "Programmin g Windows,
5th Edition" is known as "The Petzold" is also an excellent reference,
if a bit dated).

Hope that helps get you started in the right direction!

Cheers.

Cuyler

"Cuyler" <cu**********@g mail.com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. . No third party controls needed; However you will have some fun playing
with GDI+.

Here are some resources to get your started:

http://msdn.microsoft.com/library/de...ary/en-us/gdic...

http://msdn.microsoft.com/library/de...ary/en-us/csco...

http://msdn.microsoft.com/vcsharp/do...les/23samples/ (Using
GDI+ with C# -- about mid page)

Also, if you are inclined to read a book, I believe that "Programmin g
Windows with C#" written by Charles Petzold is probably the most
exhausted resource available (his previous book "Programmin g Windows,
5th Edition" is known as "The Petzold" is also an excellent reference,
if a bit dated).

Hope that helps get you started in the right direction!

Cheers.

Cuyler

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9904
by: | last post by:
Hello All, I am writing a web application that reads a bitmap from a file and outputing it to a HTTP response stream to return the image to the requesting client. The image file is a regular bitmap file (filename.bmp) I am experiencing some difficulties with writing a bitmap to a http response stream. I load the bitmap from a file. and i use the following snippet of code to write to HTTP response stream
7
2027
by: Dennis | last post by:
I am trying to implement drawing on a bitmap and using bitblt to transfer it to the control graphics object in the paint event. It seems to draw on the bitmap ok but doesn't get transferred to the control graphics object in the paint event. Any help would be appreciated. Here is my code: public class as mycontrol Private Declare Auto Function BitBlt Lib "GDI32.DLL" (ByVal hdcDest As IntPtr, ByVal nxDest As Integer, ByVal nyDest As...
7
8245
by: Fir5tSight | last post by:
Hi All, I used the following code in C#: using System.Drawing; //blah blah blah Bitmap bmp = new Bitmap();
14
11930
by: eliss.carmine | last post by:
I'm using TCP/IP to send a Bitmap object over Sockets. This is my first time using C# at all so I don't know if this is the "right" way to do it. I've already found out several times the way I was doing something was really inefficient and could reduce 10 lines of code with 2, etc. For reading, I am using a TcpClient and I call NetworkStream ns = client.GetStream(); to get a stream stream.Read(buffer, 0, buffer.Length);
0
2355
by: L'eau Prosper Research | last post by:
NEW TradeStation 8 Add-on - L'eau Prosper Market Manipulation Profiling Tools Set By L'eau Prosper Research Press Release: L'eau Prosper Research (Website: http://www.leauprosper.com) releases new TradeStation 8 Add-on - L'eau Prosper Market Manipulation Profiling Tools Set. L'eau Prosper Market Manipulation Profiling Tools Set is a set of
8
4326
by: Joergen Bech | last post by:
Suppose I have Dim bm As New Bitmap(16, 16,Imaging.PixelFormat.Format8bppIndexed) I cannot use Dim g As Graphics = Graphics.FromImage(bmdest) Dim hdc As IntPtr = g.GetHdc() as the FromImage call will fail for indexed bitmaps.
6
2477
by: \Frank\ | last post by:
I trying to learn what a Bitmap is. Not a Managed Bitmap Object but one that, for example, comes from the clipboard with CF_BITMAP. I'm guessing that a CompatableBitmap is an array of indices that point to the colors in a Palette of the display driver. So if I get a bitmap via CF_BITMAP I need to also get a Palette off the clipboard and realize it then display the bitmap. I believe "Realize it" means to put it into the display driver.
2
2608
by: Peter Oliphant | last post by:
I want to create a new Bitmap which is a portion of an existing Bitmap. For example, if I have a Bitmap that is 100x100 in size I might want to create a new Bitmap that is equivalent to the one located at (x,y)=(10,20) (upper-left hand corner) and is 50x50 in size of the source Bitmap. A sub-Bitmap if you will, sort of the equivalent to sub-strings for a source string. I don't think this works, but something like: Bitmap^ src_bm = ...
0
1111
by: Dazza | last post by:
G'day, I'm looking for a way to save a webcam frame image to a bitmap. I don't want to go via a PictureBox like many examples I've found on the net, because I will have no forms, or GUI (console app). The reason I'm looking to do this is so I can take a picture at intervals and save them to the computer (like time lapse). If at all possible it would be good if I can print a time stamp on the image too before saving on the computer....
0
9564
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10292
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10068
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9121
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7603
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5627
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.