Yes.
Putting them in a resource is easy enough. The example I used was done showing a technique used for some games that use character strips as I explained.
Announcement
Collapse
No announcement yet.
chopping up a bitmap
Collapse
X
-
Originally posted by Richard Angell View PostIf these are the same symbols over and over, why not just create the master bitmap, store in a resource and retrieve from there?
Leave a comment:
-
My guess is that it will be quicker to draw a single bitmap then chop it up ( a number of symbols to use in a menu), rather than to draw each symbol in a new DC. But maybe I'm wrong...??
Leave a comment:
-
Originally posted by Richard Angell View Post(1) all pieces to be clipped are the same size, only need to code that size
Thanks!
Leave a comment:
-
Originally posted by Mel Bishop View Post...thumb-nails or checkerboarding?
Leave a comment:
-
VB, et.al. sometimes refer to this as a picture clip. It is really straight forward to do in 1 of 2 ways:
(1) all pieces to be clipped are the same size, only need to code that size
(2) a montage of different sizes, needs their locations and sizes available for the program.
In case 1, a regular size, the program can calculate the offset and extract the needed bitmaps. I recently posted an example that does something like this Here
I have another program that can take a bitmap and chop and save into individual files. If the above referenced link and files there do not point you in the desired direction, then let me know and I'll go try and dig up this latter code.Last edited by Richard Angell; 19 Sep 2008, 01:52 PM.
Leave a comment:
-
Just for clarification: Are you talking about thumb-nails or checkerboarding?
Leave a comment:
-
chopping up a bitmap
Is there a slick way of chopping up a bitmap into little bitmaps?
My guess is that it will be quicker to draw a single bitmap then chop it up ( a number of symbols to use in a menu), rather than to draw each symbol in a new DC. But maybe I'm wrong...??Tags: None
Leave a comment: