C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 19th, 2005, 07:16 PM
maxmax maxmax is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 14 maxmax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 17 sec
Reputation Power: 0
Question photo resizing program

hey
im going to attempt to write a program where you can add all of your photos by name or folder, type in a width and height, and the program runs through them all, resizing them to the inputted hieght and width. does anyone know how to tell the computer to resize a photo and save it again? if thats too much to ask, let me know, im really new to C++ and for all i know that could be one line of code or a hundred. anyways, if somebody can tell me how to do that, i think i know how to do the rest. if not, screw the photo resizing thing, ill make a calculator or something.

thanks alot

Reply With Quote
  #2  
Old March 20th, 2005, 01:28 AM
Cirus Cirus is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 276 Cirus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 11 h 48 m 58 sec
Reputation Power: 4
For resizing, I want to know what file format are you using? Ex: BMP,JPEG,TIF etc..
Resizing is simplest for BMP files due to its simple structure.

Here, you need to take out DIB and modify the dimensions.All file formats give you the flexibility to fiddle with their data iff you adhere to their basic structure.

I advise you to write program in Visual C environment. There the structures for BITMAP and BMP are in built.For more reference go to MSDN.

Regarding the details as input by user, you can make an interface in VB or VC.

Reply With Quote
  #3  
Old March 20th, 2005, 12:05 PM
maxmax maxmax is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 14 maxmax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 17 sec
Reputation Power: 0
hey thanks man, ill do that.
i was gona use jpegs but that doesnt really matter, i can just convert them first.
thanks again

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > photo resizing program


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT