Results 1 to 2 of 2

Thread: How to change the height and width of a png image dynamically using vc++?

  1. #1

    Default How to change the height and width of a png image dynamically using vc++?

    Hi,

    I m trying to load a png image by giving the dimension of my own.

    CImage Image;
    Image.Load (L"D:\\Images\\PNG_Images\\Image7.png");

    But here what happens is that I m not able to give my own dimensions.My code requires constant changing of dimensions of the image.
    I tried using libpng.lib in my code.But I dono the keywords for loading the png image after including the lib.

    I m using Visual Studio 2010. I m developing in vc++.

    How do I load and change the height and width of a png image?

    Thankx a ton in advance....

    Regards,
    Sandhya.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to change the height and width of a png image dynamically using vc++?

    Ask Microsoft, or whoever produced the CImage class. This has nothing to do with Qt.

Similar Threads

  1. Replies: 1
    Last Post: 7th August 2012, 09:16
  2. Widget Height and Width
    By in_dbasu in forum Qt Programming
    Replies: 3
    Last Post: 11th August 2011, 08:44
  3. Replies: 1
    Last Post: 25th February 2011, 11:46
  4. Replies: 4
    Last Post: 16th March 2009, 09:08
  5. width and height of QTabWidget
    By chikkireddi in forum Qt Programming
    Replies: 6
    Last Post: 29th October 2007, 13:53

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.