Forum

Author Topic: Add only one picture in my chunk  (Read 3728 times)

Guillaume

  • Newbie
  • *
  • Posts: 7
    • View Profile
Add only one picture in my chunk
« on: May 14, 2013, 12:42:36 PM »
Hi,
I use PYTHON API for import my pictures in my chunk but for all picture add there are two pictures...

My Code :
Code: [Select]
workspace = PhotoScan.app.document
my_chunk = PhotoScan.Chunk()
my_chunk.label = "My Chunk"
my_chunk.cameras.add(photo_path+"R0010414.JPG")
workspace.chunks.add(my_chunk)

In my chunk:
"R0010414.JPG" : (3956x2756) it's ok :)
"R0010414.JPG [2]" : (640x480) it's a thumbnail picture... :(

How can I import only R0010414.JPG ?

James

  • Hero Member
  • *****
  • Posts: 736
    • View Profile
Re: Add only one picture in my chunk
« Reply #1 on: May 14, 2013, 05:49:23 PM »
I found that this happened when i dragged and dropped images into photoscan that had already been rotated 90 degrees externally (in my case rotated in windows explorer).

I haven't tried python scripting yet, but i think it is likely the same cause.

EDIT: Having said that, I can't now recreate the problem, maybe it was fixed in the latest release?
« Last Edit: May 14, 2013, 05:52:02 PM by James »