Results 1 to 2 of 2

Thread: From JPEG resources to RAW

  1. #1
    Join Date
    Oct 2009
    Posts
    70

    Default From JPEG resources to RAW

    Hi,

    I've a jpeg resources and I need to get the raw data of this jpeg.

    If it is possible, is there any Qt component to convert a jpeg resources to a raw buffer ( RGB or CMYK ) ??

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: From JPEG resources to RAW

    If your Qt installation has the jpg plugin, then you can simply load the image, and access the pixel data (RGB) in the QImage.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Is it possible to add QT resources to a DLL?
    By cboles in forum Qt Programming
    Replies: 4
    Last Post: 17th January 2017, 00:12
  2. MP3 file from Resources :-/
    By qtpat in forum Qt Programming
    Replies: 5
    Last Post: 26th March 2014, 16:34
  3. Replies: 16
    Last Post: 11th October 2009, 17:30
  4. Shared resources
    By ^Nisok^ in forum Qt Programming
    Replies: 1
    Last Post: 30th June 2009, 10:34
  5. Qt Resources
    By kaushal_gaurav in forum Qt Programming
    Replies: 3
    Last Post: 3rd October 2008, 16:30

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.