Issues.00461 - lordmundi/wikidoctest GitHub Wiki
00461: canvas plugin may not be loading images correctly in windows
Summary: canvas plugin may not be loading images correctly in windows
Created: 2012–12–05 11:51
Status: Released
Category: Bug
From: frankie
Version: 2.2
Released_In: 2.3
Description:
Code to load an image onto an overlay seems to work fine in linux, for example:
dsp_canvas create .example -background NONE -foreground #00ff00 -font arial -nrows 40 -ncols 60
set mapping "[dsp.view MAIN get -mapping].MAIN"
dsp_canvas place .example -in_display ${mapping}
.example create image "$env(USERDATA)/gui/images/image.png" 33.643 19 39 18
This seems to work fine, but on windows, nothing appears. Trying similar commands in the console, I sometimes get a plain white box, and sometimes get nothing.
I'm unsure if it has anything to do with paths in windows, or the image format. I also tried loading .jpg files in windows but also get just a white box.
Comments
brad Jan 03 2013 at 4:05pm: This has been fixed.
Associated Commits
| commit | 8bff634511c2f1c6eb65c328bd7937245d1c8cbf
link6 |
||
| Author: | Brad Bell
|
| Date: | Thu Jan 3 16:01:17 2013 -0600
|
| Message: | [@Issue 00461: Fixed bug that caused dsp_canvas to not properly load and display
images @] |
Affected Files:
plugin_Darwin/dsp_canvas.so | Bin 124044 -> 123984 bytes
plugin_Linux_FC3/dsp_canvas.so | Bin 138431 -> 138489 bytes
plugin_Win32/dsp_canvas.dll | Bin 521714 -> 520933 bytes
3 files changed, 0 insertions(+), 0 deletions(-)
| commit | c337d2ef8ab5baf51b1674d44a031b0095d58952
link7 |
||
| Author: | Brad Bell
|
| Date: | Thu Jan 3 16:00:00 2013 -0600
|
| Message: | [@EDGE Issue 00461: Fixed bug that caused dsp_canvas to not properly load and
display images @] |
Affected Files:
src/plugins/dsp_canvas.c | 23 +++++++++++++++++++++±
1 file changed, 22 insertions(+), 1 deletion(-)