Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Merge Images

 
 
Old 10-15-2006   #1 (permalink)
Raghavendra


 
 

Merge Images

Hi,
I have an image that is broken down into several other smaller images. I
need to be able to concatenate few of these images and display them in an
Image Control.

Any help available for this in WPF?

Thanks,
-RSR-

My System SpecsSystem Spec
Old 10-24-2006   #2 (permalink)
Adam Smith [MS]


 
 

Re: Merge Images

You have at least two options - one is to explicitly merge the bitmaps via
the imaging pipeline, but the other you might consider is to do something
like this:

<Image>
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup>
<ImageDrawing Rect="0,0,10,10" ImageSource="Image1.png"/>
<ImageDrawing Rect="10,0,10,10" ImageSource="Image2.png"/>
<ImageDrawing Rect="20,0,10,10" ImageSource="Image3.png"/>
<ImageDrawing Rect="30,0,10,10" ImageSource="Image4.png"/>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>

-Adam Smith [MS]

"Raghavendra" <Raghavendra@discussions.microsoft.com> wrote in message
news:535FDDC2-950C-41BE-A8D4-456D7B14BED6@microsoft.com...
> Hi,
> I have an image that is broken down into several other smaller images. I
> need to be able to concatenate few of these images and display them in an
> Image Control.
>
> Any help available for this in WPF?
>
> Thanks,
> -RSR-



My System SpecsSystem Spec
Old 10-27-2006   #3 (permalink)
Raghavendra


 
 

Re: Merge Images

Cool, thanks Adam!

"Adam Smith [MS]" wrote:

> You have at least two options - one is to explicitly merge the bitmaps via
> the imaging pipeline, but the other you might consider is to do something
> like this:
>
> <Image>
> <Image.Source>
> <DrawingImage>
> <DrawingImage.Drawing>
> <DrawingGroup>
> <ImageDrawing Rect="0,0,10,10" ImageSource="Image1.png"/>
> <ImageDrawing Rect="10,0,10,10" ImageSource="Image2.png"/>
> <ImageDrawing Rect="20,0,10,10" ImageSource="Image3.png"/>
> <ImageDrawing Rect="30,0,10,10" ImageSource="Image4.png"/>
> </DrawingGroup>
> </DrawingImage.Drawing>
> </DrawingImage>
> </Image.Source>
> </Image>
>
> -Adam Smith [MS]
>
> "Raghavendra" <Raghavendra@discussions.microsoft.com> wrote in message
> news:535FDDC2-950C-41BE-A8D4-456D7B14BED6@microsoft.com...
> > Hi,
> > I have an image that is broken down into several other smaller images. I
> > need to be able to concatenate few of these images and display them in an
> > Image Control.
> >
> > Any help available for this in WPF?
> >
> > Thanks,
> > -RSR-

>
>
>

My System SpecsSystem Spec
Old 10-27-2006   #4 (permalink)
Raghavendra


 
 

Re: Merge Images

Cool, thanks Adam!

"Adam Smith [MS]" wrote:

> You have at least two options - one is to explicitly merge the bitmaps via
> the imaging pipeline, but the other you might consider is to do something
> like this:
>
> <Image>
> <Image.Source>
> <DrawingImage>
> <DrawingImage.Drawing>
> <DrawingGroup>
> <ImageDrawing Rect="0,0,10,10" ImageSource="Image1.png"/>
> <ImageDrawing Rect="10,0,10,10" ImageSource="Image2.png"/>
> <ImageDrawing Rect="20,0,10,10" ImageSource="Image3.png"/>
> <ImageDrawing Rect="30,0,10,10" ImageSource="Image4.png"/>
> </DrawingGroup>
> </DrawingImage.Drawing>
> </DrawingImage>
> </Image.Source>
> </Image>
>
> -Adam Smith [MS]
>
> "Raghavendra" <Raghavendra@discussions.microsoft.com> wrote in message
> news:535FDDC2-950C-41BE-A8D4-456D7B14BED6@microsoft.com...
> > Hi,
> > I have an image that is broken down into several other smaller images. I
> > need to be able to concatenate few of these images and display them in an
> > Image Control.
> >
> > Any help available for this in WPF?
> >
> > Thanks,
> > -RSR-

>
>
>

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
XML Merge .NET General
Mail Merge Vista mail
Re: merge CSV to excel VB Script
mail merge Microsoft Office
merge directories Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46