Bug 681 : PImage.copy of Capture object from video library
Last modified: 2007-11-21 04:28




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
Tom Blackwell
Assigned To:
fry

Attachment Type Created Size Actions
Screen shot image/jpeg 2007-11-12 07:55 31.33 KB
Test case application/zip 2007-11-12 07:55 61.76 KB

Description:   Opened: 2007-11-12 07:52
Copying the picture from a camera (Capture object) into a PImage using
copy() doesn't seem to work unless updatePixels() is called on the PImage.
This is not the behaviour I would expect based on the reference for copy().

This is a follow-on to bug 678, closed as invalid, because the test case
used pixels[] without calling loadPixels() and updatePixels().
Additional Comment #1 From Tom Blackwell 2007-11-12 07:55
edit]
Screen shot
Additional Comment #2 From Tom Blackwell 2007-11-12 07:55
edit]
Test case
Additional Comment #3 From Tom Blackwell 2007-11-12 07:58
Processing 0133
Additional Comment #4 From fry 2007-11-21 04:28
fixed for release 0135, thanks for the report (and helpful test case).