Results 1 to 3 of 3

Thread: how to read in image date from memory zone

  1. #1
    Join Date
    Feb 2009
    Location
    Clermont-Ferrand, France
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default how to read in image date from memory zone

    Hi all

    I'm using intel's IPP for imaging processing tasks.
    In IPP, images are represented as raw binary data: a pointer to a zone of memory

    how can i turn its representation of image into QImage ?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to read in image date from memory zone

    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    May 2009
    Posts
    62
    Thanks
    2
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to read in image date from memory zone

    Do you know which format IPP uses?

    QImage has a constructor that creates an image from in-memory data in some specific formats.

    Alternatively, use QImage::loadFromData to create an image from in-memory data in standard image formats (such as jpeg).

Similar Threads

  1. Memory could not be read? (runtime) [solved]
    By DrDonut in forum Qt Programming
    Replies: 2
    Last Post: 27th February 2009, 10:15
  2. [Closed] Read an XML file into memory
    By marvaneke in forum Qt Programming
    Replies: 2
    Last Post: 25th March 2008, 15:51
  3. How to Read and display BMP image using QT
    By agsrinivasan in forum Qt Programming
    Replies: 3
    Last Post: 29th January 2007, 07:14

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.