summaryrefslogtreecommitdiff
path: root/jpeg_metadata_tk/documentation/changes.html
blob: e85f5b7d221bc9e5f802f533a005df3eb3ca0db0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<html>
        <head>
                <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
                <link rel=StyleSheet href="style.css" type="text/css">
                <META NAME="keywords" CONTENT="JPEG Metadata Application Segments APP0 APP1 APP2 APP3 APP12 APP13 APP14 EXIF DCF XMP RDF Photoshop IRB IPTC DCMI JFIF">

                <title>The PHP JPEG Metadata Toolkit - Documentation</title>
        </head>

        <body>
                <div class="headerbar">
                        <H1 align="center" style="padding:15">The PHP JPEG Metadata Toolkit - Documentation</H1>
                </div>

                <a href="index.html">Go to Documentation - Home</a>

                <div class="maintext">

                <h2>Changes List</h2>
                <table border cellpadding=8 cellspacing=0>
                        <tr>
                                <th>Versions</th>
                                <th>File</th>
                                <th>Changes</th>
                        </tr>
                        <tr>
                                <td rowspan=1 >1.00&nbsp;-&gt;&nbsp;1.01</td>
                                <td>IPTC.php</td>
                                <td>Changed <i>get_IPTC</i> to return partial data when error occurs</td>
                        </tr>
                        <tr>
                                <td rowspan=1 >1.00 -&gt; 1.02</td>
                                <td>Photoshop_IRB.php</td>
                                <td>Changed <i>get_Photoshop_IRB</i> to work with corrupted resource names which Photoshop can still read</td>
                        </tr>
                        <tr>
                                <td>1.02 -&gt; 1.03</td>
                                <td>Photoshop_IRB.php</td>
                                <td>Fixed <i>put_Photoshop_IRB</i> to output "Photoshop 3.0\x00" string with every APP13 segment, not just the first one</td>
                        </tr>
                        <tr>
                                <td>1.03 -&gt; 1.04</td>
                                <td>XMP.php</td>
                                <td>Changed <i>put_IPTC</i> to fix a bug preventing the correct insertion of a XMP block where none existed previously</td>
                        </tr>


                        <tr>
                                <td rowspan=12 >1.04 -&gt; 1.10</td>
                                <td>XMP.php</td>
                                <td>Changed <i>put_XMP_text</i> to fix some array indexes which were missing qoutes</td>
                        </tr>
                        <tr>
                                <td>IPTC.php</td>
                                <td>
                                        Changed <i>put_IPTC</i> to check if the incoming IPTC block is valid<br />
                                        Changed Interpret_IPTC_to_HTML, adding nl2br functions for each text field,
                                        so that multiline text displays properly
                                </td>
                        </tr>
                        <tr>
                                <td>XML.php</td>
                                <td>
                                        Changed <i>read_xml_array_from_text</i> to fix problem that caused the whitespace (especially newlines) to be
                                        destroyed when converting xml text to an xml array
                                </td>
                        </tr>
                        <tr>
                                <td>Photoshop_IRB.php</td>
                                <td>
                                        Changed <i>get_Photoshop_IRB</i> to fix processing of embedded resource names,
                                        after discovering that Photoshop does not process
                                        resource names according to the standard :<br>
                                        <a href="http://www.ozhiker.com/electronics/pjmt/jpeg_info/standards.html#IRB" >"Adobe Photoshop 6.0 File Formats Specification, Version 6.0, Release 2, November 2000"</a><br>
                                        This is an update to the change 1.00 -> 1.02, which was not fully correct<br><br>
                                        Changed <i>put_Photoshop_IRB</i> to fix the writing of embedded resource name,
                                        to avoid creating blank resources, and to fix a problem
                                        causing the IRB block to be incorrectly positioned if no APP segments existed.<br><br>
                                        Changed <i>get_Photoshop_IPTC</i> to initialise the output array correctly.
                                </td>
                        </tr>
                        <tr>
                                <td>Unicode.php</td>
                                <td>
                                        Added the following functions: <br>
                                        <i>smart_HTML_Entities</i><br>
                                        <i>smart_htmlspecialchars</i><br>
                                        <i>HTML_UTF16_UnEscape</i><br>
                                        <i>HTML_UTF8_UnEscape</i><br><br>
                                        Changed <i>HTML_UTF8_Escape</i> and <i>HTML_UTF16_Escape</i> to
                                        use smart_htmlspecialchars, so that characters which
                                        were already escaped would remain intact
                                </td>
                        </tr>
                        <tr>
                                <td>JPEG.php</td>
                                <td>
                                        changed <i>put_jpeg_header_data</i> to check if the data being written exists
                                </td>
                        </tr>
                        <tr>
                                <td>Example.php</td>
                                <td>
                                        Changed name of GET parameter from &quot;filename&quot; to &quot;jpeg_fname&quot;
                                        to stop script-kiddies using the google command &quot;allinurl:*.php?filename=*&quot;
                                        to find servers to attack
                                </td>
                        </tr>
                        <tr>
                                <td>EXIF.php</td>
                                <td>
                                        added function get_EXIF_TIFF to allow extracting EXIF from a TIFF file
                                </td>
                        </tr>

                        <tr>
                                <td>Photoshop_File_Info.php</td>
                                <td>
                                        New File - see documentation for more information
                                </td>
                        </tr>
                        <tr>
                                <td>Edit_File_Info.php</td>
                                <td>
                                        New File - see documentation for more information
                                </td>
                        </tr>
                        <tr>
                                <td>Edit_File_Info_Example.php</td>
                                <td>
                                        New File - see documentation for more information
                                </td>
                        </tr>
                        <tr>
                                <td>Write_File_Info.php</td>
                                <td>
                                        New File - see documentation for more information
                                </td>
                        </tr>


                        <tr>
                                <td rowspan=16 >1.10 -&gt; 1.11</td>
                                <td>EXIF.php</td>
                                <td>
                                        Added functionality to allow decoding of XMP and Photoshop IRB information embedded within the EXIF data<br>
                                        Added checks for http and ftp wrappers, as these are not supported<br>
                                        Changed <i>interpret_IFD</i> to allow thumbnail links to work when toolkit is portable across directories
                                </td>
                        </tr>
                        <tr>
                                <td>Makernotes/casio.php</td>
                                <td>Changed <i>get_Casio_Makernote_Html</i> to allow thumbnail links to work when toolkit is portable across directories</td>
                        </tr>

                        <tr>
                                <td>Makernotes/olympus.php</td>
                                <td>Changed <i>get_Olympus_Makernote_Html</i> to allow thumbnail links to work when toolkit is portable across directories</td>
                        </tr>

                        <tr>
                                <td>JFIF.php</td>
                                <td>Changed <i>Interpret_JFXX_to_HTML</i> to allow thumbnail links to work when toolkit is portable across directories</td>
                        </tr>
                        <tr>
                                <td>Photoshop_IRB.php</td>
                                <td>
                                        Moved code out of <i>get_Photoshop_IRB</i> into new function <i>unpack_Photoshop_IRB_Data</i> to allow reading of IRB blocks embedded within EXIF (for TIFF Files)<br>
                                        Moved code out of <i>put_Photoshop_IRB</i> into new function <i>pack_Photoshop_IRB_Data</i> to allow writing of IRB blocks embedded within EXIF (for TIFF Files)<br>
                                        Enabled the usage of $GLOBALS['HIDE_UNKNOWN_TAGS'] to hide unknown resources<br>
                                        Changed <i>Interpret_IRB_to_HTML</i> to allow thumbnail links to work when toolkit is portable across directories
                                </td>
                        </tr>
                        <tr>
                                <td>EXIF_Makernote.php</td>
                                <td>
                                        Changed makernotes directory definition to allow the toolkit to be portable across directories
                                </td>
                        </tr>
                        <tr>
                                <td>EXIF_Tags.php</td>
                                <td>
                                        Added TIFF compression types ZIP, LZW and JPEG<br>
                                        Added embedded XMP tag<br>
                                        Added embedded Photoshop IRB tag<br>
                                        Fixed GPS tags after testing
                                </td>
                        </tr>

                        <tr>
                                <td>Example.php</td>
                                <td>
                                        Changed displayed toolkit version numbers to reference Toolkit_Version.php
                                        Changed this example file to be easily relocatable                                        
                                </td>
                        </tr>
                        <tr>
                                <td>TIFFExample.php</td>
                                <td>
                                        Changed displayed toolkit version numbers to reference Toolkit_Version.php
                                </td>
                        </tr>
                        <tr>
                                <td>Write_File_Info.php</td>
                                <td>
                                        Changed displayed toolkit version numbers to reference Toolkit_Version.php<br>
                                        Changed error reporting to no errors<br>
                                        Removed limitation on file being in current directory
                                </td>
                        </tr>
                        <tr>
                                <td>Edit_File_Info_Example.php</td>
                                <td>
                                        Changed displayed toolkit version numbers to reference Toolkit_Version.php
                                </td>
                        </tr>
                        <tr>
                                <td>Photoshop_File_Info.php</td>
                                <td>
                                        Changed displayed toolkit version numbers to reference Toolkit_Version.php
                                </td>
                        </tr>
                        <tr>
                                <td>Edit_File_Info.php</td>
                                <td>
                                        Changed displayed toolkit version numbers to reference Toolkit_Version.php
                                </td>
                        </tr>
                        <tr>
                                <td>get_ps_thumb.php</td>
                                <td>
                                        Added support for Photoshop IRB thumbnails which are embedded within EXIF information (used in TIFF files)
                                </td>
                        </tr>
                        <tr>
                                <td>Toolkit_Version.php</td>
                                <td>
                                        New File - Added file to provide a single storage place for current version number
                                </td>
                        </tr>
                        <tr>
                                <td>pjmt_utils.php</td>
                                <td>
                                        New File - Added file to provide utility functions for the toolkit
                                </td>
                        </tr>

                </table>

                <br>

                <br>

                </div>

        </body>
</html>