bitmap bands

A

Analizer1

Hello, I have a BitMap band i created
32x31, 24x24 and 16x16

how can i extract the portion (single bitmap pict) that i want to use

thanks
 
P

Peter Duniho

Hello, I have a BitMap band i created
32x31, 24x24 and 16x16

how can i extract the portion (single bitmap pict) that i want to use

What's a "BitMap band". What exactly are you trying to do? What are the
actual .NET types of the input data and what do you want as your output
data?
 
A

Analizer1

Back in Win32 a Band is 1 to many bitmaps as a Single File with many blocks
Representing Bitmaps
as picts to use on tool bars , Instead of having Single files
or embedded bmps in the dll
ive created 3 bands and would like to use them under net
there sizes are 32x32, 16x16,24x24
so the single File will be rectangle in shape with a bunch of pictures next
to one another.

How to Seperate the Individual pictures under .Net I dont know how

I'll keep researching
thanks
 
P

Peter Duniho

Back in Win32 a Band is 1 to many bitmaps as a Single File with many
blocks
Representing Bitmaps as picts to use on tool bars ,

I am not completely ignorant of unmanaged Win32 programming techniques.
And yet, while I've seen (and used) "image strips" in which a bitmap is
divided into some number of equal-sized portions, I've never heard of
someone mixing different-sized images within the same strip. It sounds
wasteful to me.

I've also never heard of someone calling an individual image within an
image strip a "band", thus the questions about what you're actually doing.
Instead of having Single files or embedded bmps in the dll
ive created 3 bands and would like to use them under net
there sizes are 32x32, 16x16,24x24
so the single File will be rectangle in shape with a bunch of pictures
next
to one another.

How to Seperate the Individual pictures under .Net I dont know how

In unmanaged code, you would generally use Blt() or StretchBlt() to copy a
subset of the bitmap as needed.

Likewise, in .NET, you can use one of the Graphics.DrawImage() overloads
that allows you to indicate what subset of the image you want to draw.

Pete
 
A

Analizer1

They are not Different Sized Images

3 Different files Ranging from 32x32, 24x24 and 16x16
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top