FreeImage support for other images

MikeS
2005-02-23
2013-01-07
  • MikeS

    MikeS - 2005-02-23

    I could have sworn that I saw somewhere that FreeImage has plugin support for Nikon .NEF files, among others. Am I dreaming?

    If there is other support, where is it?

     
    • Hervé Drolon

      Hervé Drolon - 2005-02-25

      You are dreaming :)
      However, the support for NEF images is planned for a future release.
      Today, you can use dcraw to convert your images to 24-bit ppm and load them with FreeImage. See
      http://www.cybercom.net/~dcoffin/dcraw/

       
  • BubikolRamios

    BubikolRamios - 2012-12-25

    using vb vrapper, imgFormat = FIF_RAW

    dib = FreeImage_Load(imgFormat, fFileName, RAW_DISPLAY)

    It is opening D300s camera raw file for like 5s, while irfanview opens it instantly, furthermore images opened are much darker that those opened with iv.

    Any advice on that ?

     
    Last edit: BubikolRamios 2012-12-25
  • Hervé Drolon

    Hervé Drolon - 2013-01-07

    Hi,

    About the speed, you could use the RAW_PREVIEW flag in order to get the embedded JPEG.
    The RAW_DISPLAY flag load the image as 48-bit and convert to 24-bit with a simple bit shifting (that's why the image looks dark). You should use the RAW_DEFAULT load flad to load the image as 48-bit, then use a tone mapping operator to convert the image as 24-bit.

    Hervé

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks