FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 376 : loadImage() corrupts image when run as applet built w 0115, ok with 0109
Last modified: 2006-09-25 10:48
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
davbol
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2006-07-18 08:19
A trivial sketch such as:
size(300,300);
PImage img = loadImage("whatever.jpg");
image(img,0,0);
will fail to properly decode the image when compiled with 0115 on Win2K and run as
an applet from browser - though runs fine from the PDE. Image will contain
numerous bizarre blocky artifacts of a partial decode. Same sketch/image will work
properly as applet from browser if compiled with 0109.
Code not attached because the bug is reproducable with examples from the "images"
folder, such as "blur", "brightness" etc - all properly decode image as applets with
0109, all fail to decode image as applets with 0115.
Additional Comment
#1 From ScottLawrence 2006-09-01 11:10
I see this same behavior on OS X 10.4.7 as well with jpeg as well as gif images.
when I export the sketch as an application, it works fine... it's only with the applet exporting.
Additional Comment
#2 From REAS 2006-09-25 10:29
I wasn't able to re-create this bug on WinXP, I'm reassigning it to fry.
Additional Comment
#3 From fry 2006-09-25 10:48
this should no longer be a problem with 0116 because we've changed the
image decoding back to the code from 0114 and earlier.