Re: [hugin-ptx] Photoshop PSB file format in libpano

2012-03-04 Thread Bruno Postle

On Fri 02-Mar-2012 at 23:28 -0400, Jim Watters wrote:

On 2012-03-02 7:22 PM, Bruno Postle wrote:


I replaced 'UCHAR' with 'unsigned char' and it builds.  I've 
committed this to the default branch along with the merge.



Thank you Bruno. I will grab and test on the weekend.


It seems the libpano13 build is now broken on Windows:

https://bugs.launchpad.net/bugs/945523

--
Bruno

--
You received this message because you are subscribed to the Google Groups Hugin and 
other free panoramic software group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Photoshop PSB file format in libpano

2012-03-04 Thread Bruno Postle

On Sun 04-Mar-2012 at 10:31 +1100, Terry Duell wrote:


I now see that filter.h in the default branch prior to the PSD merge 
included the following code...



   50 #define UCHAR unsigned char
   51 #define USHORT  unsigned short
   52 #define ULONG   unsigned long


but this code is missing in filter.h in the PSD branch and default 
since the merge.


It seems Daniel did this a year ago: 8fbc76a7f4b9 removed 
unnecessary and duplicated data types


--
Bruno

--
You received this message because you are subscribed to the Google Groups Hugin and 
other free panoramic software group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Photoshop PSB file format in libpano

2012-03-04 Thread Jim Watters

On 2012-03-04 4:21 PM, Bruno Postle wrote:

On Fri 02-Mar-2012 at 23:28 -0400, Jim Watters wrote:

On 2012-03-02 7:22 PM, Bruno Postle wrote:


I replaced 'UCHAR' with 'unsigned char' and it builds.  I've committed this 
to the default branch along with the merge.



Thank you Bruno. I will grab and test on the weekend.


It seems the libpano13 build is now broken on Windows:

https://bugs.launchpad.net/bugs/945523


Thanks for the update. My weekend time disappeared I will attempt on Monday.

--
Jim Watters
http://photocreations.ca

--
You received this message because you are subscribed to the Google Groups Hugin and 
other free panoramic software group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Photoshop PSB file format in libpano

2012-03-03 Thread Terry Duell
On Sat, 03 Mar 2012 10:18:07 +1100, Terry Duell tdu...@iinet.net.au  
wrote:


On Sat, 03 Mar 2012 10:05:22 +1100, Terry Duell tdu...@iinet.net.au  
wrote:



I may have been a bit premature!
I now see that uchar is defined in filters.h, which is included in  
pteditor.c.
Something must be haywire somewhere as pteditor.c built OK here (Fedora  
16) when I monkeyed about with the pt_int32 business.


I now see that filter.h in the default branch prior to the PSD merge  
included the following code...
//-- Types  
-

49
50 #define UCHARunsigned char
51 #define USHORT  unsigned short
52 #define ULONG   unsigned long
53
54 enum{
55  _UCHAR,
56  _USHORT,
57  _ULONG
58  };

but this code is missing in filter.h in the PSD branch and default since  
the merge.

This explains why pteditor.c wouldn't build in the PSD branch.
A bit of a mystery though as to how/why it came about. Didn't anyone ever  
try to build the PSD branch?


Cheers,
--
Regards,
Terry Duell

--
You received this message because you are subscribed to the Google Groups Hugin and 
other free panoramic software group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Photoshop PSB file format in libpano

2012-03-02 Thread Bruno Postle

On Thu 01-Mar-2012 at 12:39 -0400, Jim Watters wrote:

IT has been a little over a year since this was added to a branch of libpano.
The windows binary has been downloaded over 1k times with no reported problems.
It should be merged to the main trunk for next release.


I can't get the PhotoshopPSB branch to build on Linux (fedora f15, 
gcc 4.6.1):


ptpicker.c: In function 'Java_ptutils_CLoadImage':
ptpicker.c:362:21: error: 'pt_int32' undeclared (first use in this function)

I seem to remember Terry fixed these in the default branch, but then 
if I merge the PSB branch into the default branch, then I get this 
error:


pteditor.c: In function 'Java_pteditor_CGetImageRow':
pteditor.c:103:4: error: unknown type name 'UCHAR'

--
Bruno

--
You received this message because you are subscribed to the Google Groups Hugin and 
other free panoramic software group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Photoshop PSB file format in libpano

2012-03-02 Thread Terry Duell

Hullo Bruno,

On Sat, 03 Mar 2012 09:52:29 +1100, Bruno Postle br...@postle.net wrote:

[snip]
I seem to remember Terry fixed these in the default branch, but then if  
I merge the PSB branch into the default branch, then I get this error:


pteditor.c: In function 'Java_pteditor_CGetImageRow':
pteditor.c:103:4: error: unknown type name 'UCHAR'

It's a bit of a guess, but uchar should be defined in stdtype.h, so I  
would suspect a missing #include stdtype.h somewhere. Try bunging it  
into pteditor.c and see how that goes.


Cheers,
--
Regards,
Terry Duell

--
You received this message because you are subscribed to the Google Groups Hugin and 
other free panoramic software group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Photoshop PSB file format in libpano

2012-03-02 Thread Bruno Postle

On Sat 03-Mar-2012 at 10:05 +1100, Terry Duell wrote:

On Sat, 03 Mar 2012 09:52:29 +1100, Bruno Postle br...@postle.net wrote:

I seem to remember Terry fixed these in the default branch, but 
then if I merge the PSB branch into the default branch, then I get 
this error:


pteditor.c: In function 'Java_pteditor_CGetImageRow':
pteditor.c:103:4: error: unknown type name 'UCHAR'

It's a bit of a guess, but uchar should be defined in stdtype.h, so I 
would suspect a missing #include stdtype.h somewhere. Try bunging 
it into pteditor.c and see how that goes.


I replaced 'UCHAR' with 'unsigned char' and it builds.  I've 
committed this to the default branch along with the merge.


--
Bruno

--
You received this message because you are subscribed to the Google Groups Hugin and 
other free panoramic software group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Photoshop PSB file format in libpano

2012-03-02 Thread Terry Duell
On Sat, 03 Mar 2012 10:05:22 +1100, Terry Duell tdu...@iinet.net.au  
wrote:


[snip]
It's a bit of a guess, but uchar should be defined in stdtype.h, so I  
would suspect a missing #include stdtype.h somewhere. Try bunging it  
into pteditor.c and see how that goes.


I may have been a bit premature!
I now see that uchar is defined in filters.h, which is included in  
pteditor.c.
Something must be haywire somewhere as pteditor.c built OK here (Fedora  
16) when I monkeyed about with the pt_int32 business.


Cheers,
--
Regards,
Terry Duell

--
You received this message because you are subscribed to the Google Groups Hugin and 
other free panoramic software group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Photoshop PSB file format in libpano

2012-03-02 Thread Jim Watters

On 2012-03-02 7:22 PM, Bruno Postle wrote:
I replaced 'UCHAR' with 'unsigned char' and it builds.  I've committed this to 
the default branch along with the merge.

Thank you Bruno. I will grab and test on the weekend.

--
Jim Watters
http://photocreations.ca

--
You received this message because you are subscribed to the Google Groups Hugin and 
other free panoramic software group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Photoshop PSB file format in libpano

2012-03-01 Thread Jim Watters

IT has been a little over a year since this was added to a branch of libpano.
The windows binary has been downloaded over 1k times with no reported problems.
It should be merged to the main trunk for next release.

I have yet to do a merge with Mercuial and with someone willing to help step me 
through it I can do it.


Jim

On 2011-02-14 5:13 PM, Bruno Postle wrote:

On Sun 13-Feb-2011 at 17:51 -0400, Jim Watters wrote:


I uploaded to SourceForge into an experimental folder a windows build 
3264bit of the PTtiff2psd tool for testing.  Use this tool to combine many 
tiff files into a single multilayer PSD or PSB file.

https://sourceforge.net/projects/panotools/files/experimental/
http://wiki.panotools.org/PTtiff2psd


Note that the Hugin .pto.mk files have a rule for assembling multilayer PSD 
files using PTtiff2psd, so if you have this in your PATH you should be able to 
create a multilayer PSB like this:


  make -f project.pto PREFIX_multilayer.psd

..or for stacked projects:

  make -f project.pto PREFIX_fused_multilayer.psd

(where PREFIX is the prefix you picked in Hugin)




--
Jim Watters
http://photocreations.ca

--
You received this message because you are subscribed to the Google Groups Hugin and 
other free panoramic software group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Photoshop PSB file format in libpano

2011-02-14 Thread Bruno Postle

On Sun 13-Feb-2011 at 17:51 -0400, Jim Watters wrote:


I uploaded to SourceForge into an experimental folder a windows build 
3264bit of the PTtiff2psd tool for testing.  Use this tool to 
combine many tiff files into a single multilayer PSD or PSB file.

https://sourceforge.net/projects/panotools/files/experimental/
http://wiki.panotools.org/PTtiff2psd


Note that the Hugin .pto.mk files have a rule for assembling 
multilayer PSD files using PTtiff2psd, so if you have this in your 
PATH you should be able to create a multilayer PSB like this:


  make -f project.pto PREFIX_multilayer.psd

..or for stacked projects:

  make -f project.pto PREFIX_fused_multilayer.psd

(where PREFIX is the prefix you picked in Hugin)

--
Bruno

--
You received this message because you are subscribed to the Google Groups Hugin and 
other free panoramic software group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx