User forums > General (but related to Code::Blocks)

Image zooming

(1/2) > >>

young:
I have made a picture display in the client area of a window, then what can I do to zoom in/out a part of it. I got absolutely no idea, I don't know how to begin with.

thomas:
A good place to start is google, or a general programming forum, for that matter.

In any case you should provide more accurate information even when asking at a general programming forum, because otherwise nobody will be able to help you.

--- Quote ---I have made a picture display in the client area of a window
--- End quote ---
This can refer to half a dozen operating systems and another dozen toolkits.

young:
OK,  :P I thought zooming a picture was a general question.

well, I am  using wxWidgets, picture is in PGM format. Is there some basic steps of getting a picture zoomed?


Michael:
Hello,

You can have a look at this.

You might also want to try a library like ImageMagick.

Anyway, as Thomas suggested, a good place to start and find useful information/tools/libraries/etc. is google.

Best wishes,
Michael

Ceniza:
young: The whole problem is that kind of questions do not belong to this forums.

Take a look at wxDC::SetUserScale, maybe that's of any help, but please, any further programming question not related to Code::Blocks itself post it in an appropriate forum, like here for wxWidgets questions.

Navigation

[0] Message Index

[#] Next page

Go to full version