Subversion Repositories filter_foundry

Rev

Rev 526 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 526 Rev 527
Line 21... Line 21...
21
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22
*/
22
*/
23
 
23
 
24
// This script generates the documentation file os_types.md
24
// This script generates the documentation file os_types.md
25
 
25
 
26
define('DESC_WIDTH', 55);
26
define('DESC_WIDTH', 60);
27
define('VENDOR_WIDTH', 15);
27
define('VENDOR_WIDTH', 15);
28
 
28
 
29
ob_start();
29
ob_start();
30
 
30
 
31
echo "OSTypes used in Filter Foundry\n";
31
echo "OSTypes used in Filter Foundry\n";
Line 43... Line 43...
43
# ------------------------------------------------------------------------------
43
# ------------------------------------------------------------------------------
44
 
44
 
45
ostype_header("AppleScript related");
45
ostype_header("AppleScript related");
46
ostype_info('tELE', 'Plugin Suite ID', 'Telegraphics');
46
ostype_info('tELE', 'Plugin Suite ID', 'Telegraphics');
47
ostype_info('Fltr', 'Class ID "Filter" (PITerminology.h:eventFilter)', 'Adobe');
47
ostype_info('Fltr', 'Class ID "Filter" (PITerminology.h:eventFilter)', 'Adobe');
48
ostype_info('fiFo', 'Event ID (for non-standalone filters)', 'Telegraphics');
48
ostype_info('fiFo', 'Event ID (for non-standalone filters*)', 'Telegraphics');
49
ostype_info('xprR', 'Expression "red" channel (for non-standalone filter)', 'Telegraphics');
49
ostype_info('xprR', 'Expression "red channel" (for non-standalone filters*)', 'Telegraphics');
50
ostype_info('xprG', 'Expression "green" channel (for non-standalone filter)', 'Telegraphics');
50
ostype_info('xprG', 'Expression "green channel" (for non-standalone filters*)', 'Telegraphics');
51
ostype_info('xprB', 'Expression "blue" channel (for non-standalone filter)', 'Telegraphics');
51
ostype_info('xprB', 'Expression "blue channel" (for non-standalone filters*)', 'Telegraphics');
52
ostype_info('xprA', 'Expression "alpha" channel (for non-standalone filter)', 'Telegraphics');
52
ostype_info('xprA', 'Expression "alpha channel" (for non-standalone filters*)', 'Telegraphics');
53
ostype_info('cTl0', 'Slider 0 (for non-standalone filter)', 'Telegraphics');
53
ostype_info('cTl0', 'Slider 0 (for non-standalone filters*)', 'Telegraphics');
54
ostype_info('cTl1', 'Slider 1 (for non-standalone filter)', 'Telegraphics');
54
ostype_info('cTl1', 'Slider 1 (for non-standalone filters*)', 'Telegraphics');
55
ostype_info('cTl2', 'Slider 2 (for non-standalone filter)', 'Telegraphics');
55
ostype_info('cTl2', 'Slider 2 (for non-standalone filters*)', 'Telegraphics');
56
ostype_info('cTl3', 'Slider 3 (for non-standalone filter)', 'Telegraphics');
56
ostype_info('cTl3', 'Slider 3 (for non-standalone filters*)', 'Telegraphics');
57
ostype_info('cTl4', 'Slider 4 (for non-standalone filter)', 'Telegraphics');
57
ostype_info('cTl4', 'Slider 4 (for non-standalone filters*)', 'Telegraphics');
58
ostype_info('cTl5', 'Slider 5 (for non-standalone filter)', 'Telegraphics');
58
ostype_info('cTl5', 'Slider 5 (for non-standalone filters*)', 'Telegraphics');
59
ostype_info('cTl6', 'Slider 6 (for non-standalone filter)', 'Telegraphics');
59
ostype_info('cTl6', 'Slider 6 (for non-standalone filters*)', 'Telegraphics');
60
ostype_info('cTl7', 'Slider 7 (for non-standalone filter)', 'Telegraphics');
60
ostype_info('cTl7', 'Slider 7 (for non-standalone filters*)', 'Telegraphics');
61
ostype_info('long', 'Data type integer', 'Apple');
61
ostype_info('long', 'Data type integer', 'Apple');
62
ostype_info('TEXT', 'Data type string', 'Apple');
62
ostype_info('TEXT', 'Data type string', 'Apple');
63
ostype_info('null', 'noReply', 'Apple');
63
ostype_info('null', 'noReply', 'Apple');
64
ostype_info('#ImR', 'typeImageReference', 'Adobe');
64
ostype_info('#ImR', 'typeImageReference', 'Adobe');
65
ostype_footer();
65
ostype_footer();
66
 
66
 
67
echo "Note: For standalone plugins, all FourCC codes above will be replaced ";
67
echo "Note: For standalone plugins, these FourCC codes marked with *  will be replaced ";
68
echo "by different hashes based on the parameter data of the filter (except `tELE` and `Fltr`).\n\n";
68
echo "by different hashes based on the category and title of the standalone ";
-
 
69
echo "filter (except `tELE` and `Fltr`).\n\n";
69
 
70
 
70
// TODO: also display Windows types, e.g. RT_RCDATA = 'DATA' ?
71
// TODO: also display Windows types, e.g. RT_RCDATA = 'DATA' ?
71
ostype_header("Resource fork types");
72
ostype_header("Resource fork types");
72
ostype_info('aete', 'Apple Event Terminology', 'Apple'); // https://developer.apple.com/library/archive/documentation/mac/pdf/Interapplication_Communication/AE_Term_Resources.pdf
73
ostype_info('aete', 'Apple Event Terminology', 'Apple'); // https://developer.apple.com/library/archive/documentation/mac/pdf/Interapplication_Communication/AE_Term_Resources.pdf
73
//ostype_info('PiMI', 'Plug-in Meta Information', 'Adobe');
74
//ostype_info('PiMI', 'Plug-in Meta Information', 'Adobe');
Line 96... Line 97...
96
 
97
 
97
ostype_header("Creator codes");
98
ostype_header("Creator codes");
98
ostype_info('8BIM', 'Adobe Photoshop', 'Adobe');
99
ostype_info('8BIM', 'Adobe Photoshop', 'Adobe');
99
ostype_info('ttxt', 'Text file', 'Apple');
100
ostype_info('ttxt', 'Text file', 'Apple');
100
ostype_info('pled', 'Property List Editor', 'Apple');
101
ostype_info('pled', 'Property List Editor', 'Apple');
-
 
102
//ostype_info('ViaT', 'ViaThinkSoft', 'ViaThinkSoft');
101
ostype_footer();
103
ostype_footer();
102
 
104
 
103
pipl_property_header("PlugIn Property List (PiPL) properties");
105
pipl_property_header("PlugIn Property List (PiPL) properties");
104
pipl_property_info('8BIM', 'catg', 'PiPL property "Category"', 'Adobe');
106
pipl_property_info('8BIM', 'catg', 'PiPL property "Category"', 'Adobe');
105
pipl_property_info('8BIM', 'name', 'PiPL property "Name"', 'Adobe');
107
pipl_property_info('8BIM', 'name', 'PiPL property "Name"', 'Adobe');