Subversion Repositories filter_foundry

Rev

Rev 247 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 247 Rev 503
Line 7... Line 7...
7
	
7
	
8
	FilterFoundry 1.6 used wrong length values for the TLV (Type, Length, Value) members
8
	FilterFoundry 1.6 used wrong length values for the TLV (Type, Length, Value) members
9
	of the PIPL structure (in RC files, and in fixpipl()).
9
	of the PIPL structure (in RC files, and in fixpipl()).
10
	The length value must include everything, including paddings of strings.
10
	The length value must include everything, including paddings of strings.
11
	
11
	
12
	Adobe writes in SPPiPL.h:
12
	In regards propertyLength, Adobe writes in SPPiPL.h:
13
	"Number of characters in the data array. Rounded to a multiple of 4."
13
	"Number of characters in the data array. Rounded to a multiple of 4."
14
	
14
	
15
	On the other hand, the 1997 PICA documentation (page 23) and
15
	On the other hand, the 1997 PICA documentation (page 23) and
16
	1996 "Cross-Application Plug-in Development Resource Guide" describes:
16
	1996 "Cross-Application Plug-in Development Resource Guide" describes:
17
	"Contains the length of the propertyData field. It does not include any padding bytes after
17
	"[propertyLength] contains the length of the propertyData field. It does not include any padding bytes after
18
	propertyData to achieve four byte alignment. This field may be zero."
18
	propertyData to achieve four byte alignment. This field may be zero."
19
	
19
	
20
	I think this is not correct, since even official plugins of Adobe (e.g. "3D Transform.8bf")
20
	I think this is not correct, since even official plugins of Adobe (e.g. "3D Transform.8bf") and cnvtpipl
21
	are rounding the length to a multiple of 4 (actually, rounding to the next possible multiple 4,
21
	are rounding the length to a multiple of 4 (actually, rounding to the next possible multiple 4,
22
	so that padding is always guaranteed).
22
	so that padding is always guaranteed).
-
 
23
	Photoshop (tested with Photoshop 7) will crash if the propertyLength follows the definition of PICA.
23
 
24
 
24
2. Filters will only fill the bottom of the picture, not the whole canvas.
25
2. Filters will only fill the bottom of the picture, not the whole canvas.
25
 
26
 
26
	Status: FIXED (Workaround) in FilterFoundry 1.7
27
	Status: FIXED (Workaround) in FilterFoundry 1.7
27
	
28