Click here to Skip to main content
15,906,574 members
Home / Discussions / C#
   

C#

 
Questionhow can i get the output variable from .. Pin
alokabasha25-May-06 12:50
alokabasha25-May-06 12:50 
AnswerRe: how can i get the output variable from .. Pin
Judah Gabriel Himango25-May-06 13:48
sponsorJudah Gabriel Himango25-May-06 13:48 
AnswerRe: how can i get the output variable from .. Pin
Judah Gabriel Himango25-May-06 13:51
sponsorJudah Gabriel Himango25-May-06 13:51 
Questionplz help! Pin
maryamf25-May-06 12:22
maryamf25-May-06 12:22 
AnswerRe: plz help! Pin
Saqib Mehmood25-May-06 18:24
Saqib Mehmood25-May-06 18:24 
QuestionGlobal Hotkey And Keyboard Hook Problem Pin
Draders2325-May-06 11:44
Draders2325-May-06 11:44 
QuestionAccess violation in mscorwks.dll Pin
asbasir25-May-06 11:35
asbasir25-May-06 11:35 
QuestionHow to append bitmap data to an existing bitmap? Pin
zenzero25-May-06 10:23
zenzero25-May-06 10:23 
Hi,

I would like to find out how to append a bitmap to an existing bitmap in .net 2.0. I am programming in C++/CLI but C# code will also be fine.

What I am trying to accomplish is a 'Render to Disk' feature, where I can create a very large bitmap image on disk by appending a 'strip' at a time to the bottom of the image; thus growing the bitmap on the disk.

I have tried using the SaveAdd method, but have been unsucessful. Is this the right approach or am I barking up the wrong tree? Here is some code that I tried:

EncoderParameters^ params = gcnew EncoderParameters(1);
params->Param[0] = gcnew EncoderParameter(Encoder::ColorDepth, (short)32);

saveBitmap->Save(saveBitmapDialog->FileName, codec, params);
saveBitmap->SaveAdd(params);


The Save method works fine and results in a bitmap on disk, but SaveAdd fails. Any ideas would be greatly appreciated, there does not seem to be much info about this on the net.

Thanks!

zenzero
AnswerRe: How to append bitmap data to an existing bitmap? Pin
Guffa25-May-06 11:27
Guffa25-May-06 11:27 
GeneralRe: How to append bitmap data to an existing bitmap? Pin
zenzero25-May-06 11:45
zenzero25-May-06 11:45 
QuestionSql multiple queries [modified] Pin
JelleM25-May-06 10:20
JelleM25-May-06 10:20 
AnswerRe: Sql multiple queries [modified] Pin
ShailenSukul25-May-06 11:10
ShailenSukul25-May-06 11:10 
GeneralRe: Sql multiple queries [modified] Pin
Colin Angus Mackay25-May-06 11:34
Colin Angus Mackay25-May-06 11:34 
AnswerRe: Sql multiple queries [modified] Pin
Colin Angus Mackay25-May-06 11:33
Colin Angus Mackay25-May-06 11:33 
GeneralRe: Sql multiple queries [modified] Pin
JelleM26-May-06 0:45
JelleM26-May-06 0:45 
AnswerRe: Sql multiple queries [modified] Pin
Arjan Einbu25-May-06 12:42
Arjan Einbu25-May-06 12:42 
QuestionResizing in designer wont take effect when running. Pin
RanvA25-May-06 10:14
RanvA25-May-06 10:14 
AnswerRe: Resizing in designer wont take effect when running. Pin
alexey N25-May-06 18:12
alexey N25-May-06 18:12 
QuestionGet information about an extended control (IExtenderProvider) Pin
giplet25-May-06 9:14
giplet25-May-06 9:14 
AnswerRe: Get information about an extended control (IExtenderProvider) Pin
Ed.Poore25-May-06 9:53
Ed.Poore25-May-06 9:53 
GeneralRe: Get information about an extended control (IExtenderProvider) Pin
giplet25-May-06 10:48
giplet25-May-06 10:48 
GeneralRe: Get information about an extended control (IExtenderProvider) [modified] Pin
giplet25-May-06 10:51
giplet25-May-06 10:51 
GeneralRe: Get information about an extended control (IExtenderProvider) [modified] Pin
Ed.Poore25-May-06 12:42
Ed.Poore25-May-06 12:42 
GeneralRe: Get information about an extended control (IExtenderProvider) [modified] Pin
Christian Wikander25-May-06 22:22
Christian Wikander25-May-06 22:22 
GeneralRe: Get information about an extended control (IExtenderProvider) Pin
Ed.Poore26-May-06 0:15
Ed.Poore26-May-06 0:15 

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.