Results 1 to 1 of 1

Thread: Reading Canon CR2 on MacOS

  1. #1
    Join Date
    Dec 2013
    Posts
    1
    Thanked 3 Times in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X

    Default Reading Canon CR2 on MacOS

    Hey all,

    I'm developing an application that imports raw camera images (like CR2 from canon, NEF from Nikon etc.). I believe there's a million ways to do it - the one I picked for simplicity was to use dcraw (http://www.cybercom.net/~dcoffin/dcraw/) as an executable call. That works for my purpose, but it's kind of ugly.

    I'd like to utilize MacOS' capabilities of importing raw camera images. I've seen that Qt5.2 (which I'm using) has mac functions that allows me to convert a CGImageRef to a QPixmap. That, I believe, is a big part of what I'm trying to achieve. However, I have no background in Mac programming (just C++ and Qt, no objective C) and cannot figure out how to read a raw camera file into a CGImage(Ref).

    TLDR:
    Input: Any raw camera image file (.CR2, .NEF, .CRW, ...)
    Output: A QPixmap with said image.
    Need: A source code that compiles on Mac OS 10.9, Qt5.2.

    Thanks a lot for your help!

    Best,

    Shimaron

  2. The following 3 users say thank you to Shimaron for this useful post:


Similar Threads

  1. Qt5 and showFullscreen on MacOS 10.6
    By fober in forum Qt Programming
    Replies: 1
    Last Post: 13th September 2013, 14:20
  2. Canon LIDE 110 interface problem
    By karankumar1609 in forum General Programming
    Replies: 0
    Last Post: 7th May 2013, 19:12
  3. Replies: 0
    Last Post: 14th March 2012, 01:22
  4. QT4.5 and QTKit on MacOS
    By giandrea77 in forum Qt Programming
    Replies: 4
    Last Post: 1st April 2009, 10:02
  5. Qt 4.5.0 under MacOS-X
    By hunsrus in forum Qt Programming
    Replies: 0
    Last Post: 13th March 2009, 10:50

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.