hugin SVN2624 libpano SVN785 builds but...

0 views
Skip to first unread message

Yuv

unread,
Jan 11, 2008, 7:24:55 PM1/11/08
to hugin and other free panoramic software
... when I load pictures with the assistant I get the following error:

command: autopano-c-complete.sh --output /tmp/ap_resYc7UUU --points
20 "/media/all/r500gb/01-InBox Pictures/071009sequoia/
01/01_MG_7785.tif" "/media/all/r500gb/01-InBox Pictures/071009sequoia/
01/01_MG_7786.tif" "/media/all/r500gb/01-InBox Pictures/071009sequoia/
01/01_MG_7787.tif" "/media/all/r500gb/01-InBox Pictures/071009sequoia/
01/01_MG_7788.tif" "/media/all/r500gb/01-InBox Pictures/071009sequoia/
01/01_MG_7789.tif" "/media/all/r500gb/01-InBox Pictures/071009sequoia/
01/01_MG_7790.tif" "/media/all/r500gb/01-InBox Pictures/071009sequoia/
01/01_MG_7791.tif" "/media/all/r500gb/01-InBox Pictures/071009sequoia/
01/01_MG_7792.tif" "/media/all/r500gb/01-InBox Pictures/071009sequoia/
01/01_MG_7793.tif" "/media/all/r500gb/01-InBox Pictures/071009sequoia/
01/01_MG_7794.tif"
failed with error code: 255

and when I click on the "load EXIF" button in the "Camera and Lens"
pane, I get an error "Not a jpeg file:01_MG_7785"

I did install libexiv2-dev on my box prior to building, and I cleaned
up completely the build directory. What am I doing wrong?

Yuv (back from a stressful week that ended well - will catch up with
the rest of the messages during the weekend)

Gerry Patterson

unread,
Jan 11, 2008, 10:30:25 PM1/11/08
to hugi...@googlegroups.com
Hello,

Hmm no code was changed in autopano-c with regards to EXIF data handling.  As far as I know it is a separate project that does not use code from the hugin.  If you un-check the "Automatically align images after loading" button and then restart, do you get any errors?  At this point you should see if EXIF was loaded in the "Camera and Lens" I am guessing it occurs after the "align" button is pressed.

As for the "load EXIF" button not working, that is expected (for now).  I only added exiv2 support to the initial loading of the images.  I was going to look at the code in the lens panel and see why it is reading the data from the file again, as it should already available.  If it is possible, I was going to consolidate that code to grab the already retrieved EXIF data.  If that isn't the case, then I was going to add Exiv2 support here as well.

Best Regards,

- Gerry

Gerry Patterson

unread,
Jan 11, 2008, 11:34:11 PM1/11/08
to hugi...@googlegroups.com
Hello,

Attached is a patch to make the Load EXIF button work with files other than jpeg.

Best Regards,

- Gerry
LensPanel.cpp.diff

Pablo d'Angelo

unread,
Jan 12, 2008, 10:00:54 AM1/12/08
to hugi...@googlegroups.com
Hi Gerry,

Gerry Patterson wrote:
> and when I click on the "load EXIF" button in the "Camera and Lens"
> pane, I get an error "Not a jpeg file:01_MG_7785"
>

> As for the "load EXIF" button not working, that is expected (for
> now). I only added exiv2 support to the initial loading of the
> images. I was going to look at the code in the lens panel and see
> why it is reading the data from the file again, as it should already
> available. If it is possible, I was going to consolidate that code
> to grab the already retrieved EXIF data. If that isn't the case,
> then I was going to add Exiv2 support here as well.

Currently, the exif info is not read, when an already existing project is
loaded. This could be fixed by adding code to read the EXIF (but not replace
focal length, orientation etc, as it is done currently) upon loading a pto
file. However, the "load project" code is currently a bit messy.

Btw. I'll remove the exif related code from Lens.cpp soon.

ciao
Pablo

Reply all
Reply to author
Forward
0 new messages