Page 1 of 1

0.83: .psb file format support

Posted: Fri Nov 18, 2016 3:26 pm
by thibaud
it seems that xnviewMP has difficulties displaying photoshop .psb file format.
there's a good chance that this may be with newer .psb files only as I don't recall seing problems before.

Re: .psb file format support

Posted: Sat Nov 19, 2016 2:30 am
by XnTriq
xnview ([url=http://newsgroup.xnview.com/viewtopic.php?p=132803#p132803]Photoshop .psb format support[/url]) wrote:
thibaud wrote:
xnview wrote:could you send me a sample file?
this sample gives an error:
http://www.fileformatcommons.com/psb-file-format/
I have a problem to read this sample, but PSB from photoshop is supported
XnView Classic v2.39 opens ffc.psb as a solid black square (24-bit 500×500). MP v.83 says: “File can't be loaded!”
[color=green]psdparse.exe -v ffc.psb[/color] wrote:

Code: Select all

Processing "ffc.psb"
  PSB (version 2), 3 channels, 500 rows x 500 cols, 8 bit RGBColor
  (color mode data is empty)
  ...skipped image resources (30028 bytes)

2 layers:

  layer 0: (   0,   0, 500, 500), 3 channels ( 500 rows x  500 cols)
    channel  0:    7002 bytes, id= 0  (R)
    channel  1:    7002 bytes, id= 1  (G)
    channel  2:    7002 bytes, id= 2  (B)
  (extra data: 324 bytes @ 30144)
  (no layer mask)
  ...skipped layer blending ranges (40 bytes)
    name: "Background"

  layer 1: ( 106,  95, 355, 429), 4 channels ( 249 rows x  334 cols)
    channel  0:   30499 bytes, id=-1  (transparency mask)
    channel  1:    2990 bytes, id= 0  (R)
    channel  2:    2990 bytes, id= 1  (G)
    channel  3:    2990 bytes, id= 2  (B)
  (extra data: 11892 bytes @ 30542)
  (no layer mask)
  ...skipped layer blending ranges (40 bytes)
    name: "File Format Commons psb  010001"
## layer data begins @ 42434
## layer image data begins @ 42434

  layer 0 ("Background"):
  blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
    flags=0x9(transp_prot(1) visible(0) bit4valid(1) pixel_data_irrelevant(0))
  channel 0:
>>> channel id =  0 @   42434, 7002 bytes
    compression = 1 (RLE)
    uncompressed size 250000 bytes (row bytes = 500)
  channel 1:
>>> channel id =  1 @   49436, 7002 bytes
    compression = 1 (RLE)
    uncompressed size 250000 bytes (row bytes = 500)
  channel 2:
>>> channel id =  2 @   56438, 7002 bytes
    compression = 1 (RLE)
    uncompressed size 250000 bytes (row bytes = 500)

  layer 1 ("File Format Commons psb  010001"):
  blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
    flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
  channel 0:
>>> channel id = -1 @   63440, 30499 bytes
    compression = 1 (RLE)
    uncompressed size 83166 bytes (row bytes = 334)
  channel 1:
>>> channel id =  0 @   93939, 2990 bytes
    compression = 1 (RLE)
    uncompressed size 83166 bytes (row bytes = 334)
  channel 2:
>>> channel id =  1 @   96929, 2990 bytes
    compression = 1 (RLE)
    uncompressed size 83166 bytes (row bytes = 334)
  channel 3:
>>> channel id =  2 @   99919, 2990 bytes
    compression = 1 (RLE)
    uncompressed size 83166 bytes (row bytes = 334)
## end of layer image data @ 102909
  (global layer mask info section is empty)

  merged image:
>>> merged image data @  242842
    compression = 1 (RLE)
    uncompressed size 750000 bytes (row bytes = 500)
  done.
p135868.zip
Sample PSB + extracted layers + psdparse logfile
(44.41 KiB) Downloaded 43 times

Re: .psb file format support

Posted: Sat Nov 19, 2016 8:28 am
by xnview
thibaud wrote:it seems that xnviewMP has difficulties displaying photoshop .psb file format.
there's a good chance that this may be with newer .psb files only as I don't recall seing problems before.
Could you please send me a psb sample?

Re: .psb file format support

Posted: Sat Nov 19, 2016 2:59 pm
by thibaud
xnview ([url=http://newsgroup.xnview.com/viewtopic.php?p=132803#p132803]Photoshop .psb format support[/url]) wrote:
thibaud wrote:
xnview wrote:could you send me a sample file?
this sample gives an error:
http://www.fileformatcommons.com/psb-file-format/
I have a problem to read this sample, but PSB from photoshop is supported
If you can't read [the above] sample I suppose it means something isn't right

Re: .psb file format support

Posted: Fri Nov 25, 2016 2:58 pm
by xnview
See Issue 1024 for details.

Re: 0.83: .psb file format support

Posted: Mon Nov 28, 2016 8:19 pm
by thibaud
I suppose this fix didn't make it into 0.84 beta 1 yet. (still not working)

Re: 0.83: .psb file format support

Posted: Mon Nov 28, 2016 8:25 pm
by cday
thibaud wrote:I suppose this fix didn't make it into 0.84 beta 1 yet.
No, 0.84 beta 1 is dated 18 Nov 2016...

Re: 0.83: .psb file format support

Posted: Sun Feb 19, 2017 2:01 pm
by helmut
0.84 is supposed to support .psb files. Could you please check and confirm, thibaud?

Re: 0.83: .psb file format support

Posted: Sun Feb 19, 2017 9:15 pm
by XnTriq
The second of the two layers (#0 + #1) of ffc.psb named “File Format Commons psb 010001” is supposed to have a transparency mask. XnView MP v0.84 displays it as fully opaque.

Re: 0.83: .psb file format support

Posted: Mon Feb 20, 2017 11:26 pm
by helmut
XnTriq wrote:The second of the two layers (#0 + #1) of ffc.psb named “File Format Commons psb 010001” is supposed to have a transparency mask. XnView MP v0.84 displays it as fully opaque.
Thanks for testing.

:arrow: Reproduced (Due to the remaining problem).

Re: 0.83: .psb file format support

Posted: Sat Jun 17, 2017 4:56 pm
by xnview
O.k., thank you, I can also reproduce the problem. Issue 1251 is fixed in next version.

Re: 0.83: .psb file format support

Posted: Sat Jul 08, 2017 12:59 pm
by xnview
This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.

Re: 0.83: .psb file format support

Posted: Tue Jul 18, 2017 11:30 pm
by XnTriq
xnview wrote:This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.
Confirmed fixed :bugfixed: