Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-imgsrv
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-imgsrv
Commits
0353ca66
Commit
0353ca66
authored
Mar 19, 2019
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed extra debug
parent
2433f6a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
exif.php
src/exif.php
+6
-2
No files found.
src/exif.php
View file @
0353ca66
...
...
@@ -112,8 +112,8 @@ $DeviceModel = "Elphel393";
//! if called from the command line - accepts just one parameter - configuration file,
//! through CGI - accepts more parameters
///
$ExifXMLName="/etc/Exif_template.xml";
$ExifXMLName
=
"./Exif_template.xml"
;
$ExifXMLName
=
"/etc/Exif_template.xml"
;
///
$ExifXMLName="./Exif_template.xml";
$init
=
false
;
if
(
$_SERVER
[
'REQUEST_METHOD'
]
==
"GET"
)
{
...
...
@@ -346,6 +346,10 @@ data_offset=0xbc
fwrite
(
$Tiff_file
,
$Tiff_str
);
/// will disable and invalidate Exif data
fclose
(
$Tiff_file
);
// printf("\ - Tiff_str\n"); hexdump($Tiff_str);
$dir_entries_exif
=
array
();
$exif_head_length
=
count
(
$exif_head
);
foreach
(
$xml_exif
->
Image
->
children
()
as
$entry
)
addDirEntry
(
$entry
,
$dir_entries_exif
,
$exif_head_length
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment