Click here to Skip to main content
15,887,302 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.
Posted
Updated 26-Jul-12 0:27am
v2

1 solution

If you are developing for the Windows platform then have a look at Resizing an image with GDI+[^].
 
Share this answer
 
Comments
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 http://www.microsoftfaqs.com/msg/14721149.aspx)
Schehaider_Aymen 26-Jul-12 7:20am    
I downloaded some files here(http://www.codeproject.com/Articles/2325/Hints-to-get-GDI-running) 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 http://www.steptools.com/support/stdev_docs/help/settings_vc6.html
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