Click here to Skip to main content
15,179,246 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I have an input image file (jpeg) with a dpi of 200, I wanna make it 100 dpi. Wow can I do this in C++ ?

Thank you in advance.
Updated 26-Jul-12 1:27am

1 solution

If you are developing for the Windows platform then have a look at Resizing an image with GDI+[^].
Schehaider_Aymen 26-Jul-12 6:54am
is it supported for using in MVS 6.0?? it told me

fatal error C1083: Cannot open include file: 'Gdiplus.h': No such file or directory
CPallini 26-Jul-12 7:07am
You may use it with VC6, but you need a more recent version of the SDK (see
Schehaider_Aymen 26-Jul-12 7:20am
I downloaded some files here( and i extracted the content on the current fiolder of my project but it seems that i nned to add the .lib link to my project how could i do it ?
CPallini 26-Jul-12 8:08am
See here
Schehaider_Aymen 26-Jul-12 8:21am
I couldn't use the GDI+ without installing the Framework. anyway thank for helping here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900