Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
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-web-393
Commits
cdb6b4d1
Commit
cdb6b4d1
authored
May 20, 2020
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed lwir canvas
parent
909de380
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
jquery-jp4.js
src/jp4-canvas/jquery-jp4.js
+3
-2
No files found.
src/jp4-canvas/jquery-jp4.js
View file @
cdb6b4d1
...
...
@@ -227,7 +227,7 @@
this
.
getFormat
=
()
=>
this
.
format
;
this
.
getSrc
=
()
=>
settings
.
src
;
function
process_image_tiff
(
blob
){
function
process_image_tiff
(
imagedata
){
IMAGE_FORMAT
=
"TIFF"
;
obj
.
format
=
IMAGE_FORMAT
;
...
...
@@ -360,8 +360,9 @@
//Elphel.Canvas.drawScaled($(canvas),cnv_display,settings.width);
Elphel
.
Canvas
.
drawScaled
(
cnv_working
,
cnv_display
,
settings
.
width
);
delete
this
;
}
fileReader
.
readAsArrayBuffer
(
blob
);
fileReader
.
readAsArrayBuffer
(
new
Blob
([
imagedata
])
);
}
...
...
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