Thread: Resize Jpeg's

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    16

    Resize Jpeg's

    I want to know what is the easiest way to write a tool that will resize jpeg's.

    THANK YOU!

  2. #2
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    First step perhaps would be to find out all the info you could on the JPEG format. Perhaps checking out the information available from wotsit.org would help. Once you have figured out how the information is stored within the JPEG format, you will have a starting point for your program to then modify the data.
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  3. #3
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    working with the .jpg format is a biatch in c++ but it has been made considerably easier now since the advent of GDI+. Look up GDI+ at msdn and review the sample source available.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. bilinear and average weight resize
    By Mario F. in forum Tech Board
    Replies: 5
    Last Post: 05-31-2008, 11:53 AM
  2. png Image Resize
    By bhupesh.kec in forum C Programming
    Replies: 3
    Last Post: 12-06-2007, 07:52 AM
  3. Resize Image File???
    By stickman in forum C++ Programming
    Replies: 4
    Last Post: 09-19-2004, 11:46 AM
  4. Disable resize events and window moves
    By cozman in forum Windows Programming
    Replies: 4
    Last Post: 06-24-2002, 09:12 AM
  5. Disable Resize Window :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 04-07-2002, 07:26 PM