Results 1 to 8 of 8

Thread: Image reading and writing line by line

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2010
    Location
    Moscow
    Posts
    31
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Image reading and writing line by line

    Hi there. Would you please, guys help me out? I have got an image and sometimes a huge one. In order to avoid memory problems I would like to read an image line by line and after having processed each line I would want to write it to an output image.
    The problem is I need to use QImage::scaled() function (or similar which can provide efficient scaling procedure which I need use) that suits me fine.
    First guess is to divide input image into number of QImages (let's say, number of lines of input image) and accomplish scaling procedure on each of them. But how will I write all of them into single output image? There may be another solution or more suitable Q-class I'm not aware of. Anyway you're welcome to give any input on this. Thank you so much in advance.
    Last edited by Astrologer; 28th April 2010 at 14:08.

Similar Threads

  1. New line when writing a File
    By locke in forum Qt Programming
    Replies: 5
    Last Post: 17th May 2011, 11:27
  2. Replies: 1
    Last Post: 21st November 2009, 08:29
  3. Why doesn't the line appear on my Image?
    By Gh0stR1der in forum Newbie
    Replies: 1
    Last Post: 18th April 2009, 23:42
  4. Replies: 0
    Last Post: 28th February 2009, 23:18
  5. Almost reading QImage line by line, help me please.
    By newqtuser in forum Qt Programming
    Replies: 4
    Last Post: 18th July 2008, 14:22

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.