Problem to import png files as Patch !   [SOLVED] - View the solution

This forum is dedicated to Autopano Pro / Giga bug reports and features discussion.
Please read the posting rules before starting a topic!
User avatar
vincen
Kolor Certified Trainer
 
Topic author
Posts: 963
Likes: 23 posts
Liked in: 4 posts
Joined: Fri Mar 13, 2009 11:30 am
Location: Grenoble, France
Info

Problem to import png files as Patch !

by vincen » Mon Dec 14, 2015 11:00 am

Hi

Using APG 4.2.3 on Ubuntu 14.04 64 bits, I encounter lot of problems importing patch image in APG. With JPG it works most of time but with PNG files most of time it doesn't work ! I select file to add in the layer editor, then I see very briefly the blue bar at the bottom left moving and then done, picture not added at project :(
I attach a sample of a png file not working.
camera.png
png file not accepted as patch in APG


Vincèn
Blog: http://www.skivr.com
Nodal Ninja 4 R-D16 on Benro Tripod + Ultimate R1 on Nodal Ninja P2 + Nikon D800 + Nikkor 10.5 + Nikkor 14/24 f/2.8 +Pentax 645D

User avatar
Annis
Kolor Team
 
Posts: 6062
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: Problem to import png files as Patch !

by Annis » Mon Dec 14, 2015 11:55 am

Curious.

Could you try another .png patch, for example this one and tell me if it works?
Attachments
Sans titre2.png
Sans titre2.png (145.82 KiB) Viewed 1686 times

User avatar
vincen
Kolor Certified Trainer
 
Topic author
Posts: 963
Likes: 23 posts
Liked in: 4 posts
Joined: Fri Mar 13, 2009 11:30 am
Location: Grenoble, France
Info

Re: Problem to import png files as Patch !

by vincen » Mon Dec 14, 2015 12:32 pm

Annis wrote:Curious.
Could you try another .png patch, for example this one and tell me if it works?

I tried with few different PNG without much success in fact ! Most of my PNG are done or saved with Gimp. May it be the origin of the issue ?
Works like a charm with your PNG file ;)
Blog: http://www.skivr.com
Nodal Ninja 4 R-D16 on Benro Tripod + Ultimate R1 on Nodal Ninja P2 + Nikon D800 + Nikkor 10.5 + Nikkor 14/24 f/2.8 +Pentax 645D

User avatar
Annis
Kolor Team
 
Posts: 6062
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: Problem to import png files as Patch !

by Annis » Mon Dec 14, 2015 1:11 pm

My PNG was also created in GIMP.

Trying to find the difference between the two...

User avatar
Annis
Kolor Team
 
Posts: 6062
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: Problem to import png files as Patch !  [SOLVED]

by Annis » Mon Dec 14, 2015 1:17 pm

Try this, the colour profile was switched to RVB :
cameraRVB.png


(For future reference, here's where to change it in GIMP)
[camera4] (importée)-8.0 (Couleur indexée, 1 calque) 950x1000 – GIMP.png

User avatar
vincen
Kolor Certified Trainer
 
Topic author
Posts: 963
Likes: 23 posts
Liked in: 4 posts
Joined: Fri Mar 13, 2009 11:30 am
Location: Grenoble, France
Info

Re: Problem to import png files as Patch !

by vincen » Mon Dec 14, 2015 1:44 pm

Annis wrote:Try this, the colour profile was switched to RVB :

Very good idea, didn't think about it and it's the trick ;) Might be nice that either APG converts to RGB if needed automatically or issues a warning about file that has to be in RGB instead of silently failing :cool:
Blog: http://www.skivr.com
Nodal Ninja 4 R-D16 on Benro Tripod + Ultimate R1 on Nodal Ninja P2 + Nikon D800 + Nikkor 10.5 + Nikkor 14/24 f/2.8 +Pentax 645D


Who is online

Users browsing this forum: No registered users and 1 guest