If you were creating a graphic design drawing program for creating small images like 32x32 pixels but the windows was like 600x400. How would you create it so it could have more of a zoomed in vision of the 32x32 image so you could draw on it pixel by pixel without looking a mile away if you no what I mean.

Recommended Answers

All 8 Replies

Well that pretty much describes what I would do.
What's the actual question? How to zoom an image?

yeah so that I can actually edit a small image like 10x10 or somthing, I need to be able to zoom in on the image.

<aummmmmm>
<fx>Gazes into crystal ball</fx>
<aummmmmm>
Tell me the name of the graphics API cam875 is using
<aummmmmm>
.....
<aummmmmm?>
.....

Sorry, crystal ball broke, you'll have to tell us.

just through the windows API like GDI. sorry for not telling.

Perhaps use some kind of "grid" control, where each cell represents a pixel.

for each step display each pixel as a a square made out of pixels that grows with each step

let me explain :

R = red
B = blue
Y = yellow
G = green

step 0:

RB
YG

step 1:

RRBB
RRBB
YYGG
YYGG
(a pixel has become a 2x2 pixel square)

step 2:

RRRBBB
RRRBBB
RRRBBB
YYYGGG
YYYGGG
YYYGGG
(a pixel has become a 3x3 pixel square)

and so on

there was an exercise exactly like this but with a character matrix at an informatics Olympiad in my country

ok thanks for the help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.