Project

General

Profile

How to open a full path image

Added by Mark Allen over 6 years ago

I want to use Exiv2::ImageFactory to open an image with absoluteFilePath.For example ,"Exiv2::ImageFactory::open("C:\rawTest\test.CR2")",when I run the code,I get the information like this:"Failed to open the data source:Invalid argument<errno=22>".


Replies (2)

RE: How to open a full path image - Added by Robin Mills over 6 years ago

Can you try: Exiv2::ImageFactory::open("C:\\rawTest\\test.CR2")

    (1-2/2)