Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
5c65da31
Commit
5c65da31
authored
Oct 23, 2023
by
comfyanonymous
Browse files
Remove prints.
parent
b935bea3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
web/scripts/pnginfo.js
web/scripts/pnginfo.js
+0
-2
No files found.
web/scripts/pnginfo.js
View file @
5c65da31
...
...
@@ -128,7 +128,6 @@ export function getWebpMetadata(file) {
const
length
=
dataView
.
getUint32
(
offset
+
4
,
true
);
// Get the chunk type
const
type
=
String
.
fromCharCode
(...
pngData
.
slice
(
offset
,
offset
+
4
));
console
.
log
(
length
,
type
);
if
(
type
===
"
EXIF
"
)
{
// Get the keyword
let
data
=
parseExifData
(
pngData
.
slice
(
offset
+
8
,
offset
+
8
+
length
));
...
...
@@ -142,7 +141,6 @@ export function getWebpMetadata(file) {
offset
+=
8
+
length
;
}
console
.
log
(
txt_chunks
);
r
(
txt_chunks
);
};
...
...
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