473,394 Members | 1,878 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Bitmap.Clone()

Help plz, what's happen exactly when I do Bitmap.Clone() ?

Nov 17 '05 #1
1 5241
The native GDI+ API GDIPCloneBitmapArea is called to create a new bitmap
containing a copy of the pixel data in the area specified.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"RicercatoreSbadato" <em***********@yahoo.it> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Help plz, what's happen exactly when I do Bitmap.Clone() ?

Nov 17 '05 #2

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

Similar topics

2
by: ekey | last post by:
Hi: I want to create Bmp by fellow code,and it good work, Bitmap bitmap1 = new Bitmap((Image)iData.GetData(DataFormats.Bitmap)) but i want to cut the part of the Bmp now . How to do it ? ...
1
by: André Borchert | last post by:
Hello, how do you select a region (area = x1,y1,x2,y2) of a bitmap and cut or copy this selection into a new bitmap ? The original could be a Bitmap object or a Image/PictureBox object....
0
by: James Dean | last post by:
Question 1:I have my full image and i only display that when the zoom rate is 1:1......i guess i will set my default display to 1:16.....is it okay to just return a thumbnail of the entire image...
3
by: RicercatoreSbadato | last post by:
=========== INTRODUCTION: =========== I'd like to take only a part of a Bitmap. I'm workin in unsafe mode with the pointers: unsafe { byte * p_init = (byte *)(void *)Scan0; byte * p_I =...
2
by: active | last post by:
I find Bitmap.Save works for WMF files but Bitmap.FromFile does not. If I use FromFile on a WMF file that came with VS I get an exception. If I use it on a WMF file created with Bitmap.Save I...
2
by: Mad Scientist Jr | last post by:
I have a bitmap (32 pixels high, 8192 pixels wide) that contains 255 images, each 32 pixels wide, that I would like to chop up into individual 32x32 bitmap files. Rather than spending hours in...
2
by: John | last post by:
The following 4 lines add a border to a bitmap and save it into clipboard, however it also add a border to the bitmap on the screen. I want to create a temp copy of the bitmap and add a border to...
4
by: John J. Hughes II | last post by:
The following code throws a out of memory exception, I have another function that does the same thing using the bitmap lock but its way slow. Anyone know how to fix this one? public static...
1
by: TG01 | last post by:
I cannot clone a bitmap.. the error on the offending line says: Cannot implicitly convert type 'object' to 'System.Drawing.Bitmap'. An explicit conversion exists (are you missing a cast?) ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.