Bug 445 : filter GRAYSCALE and BLACK_WHITE not working?
Last modified: 2006-11-13 19:04



Assigned To:

Attachment Type Created Size Actions

Description:   Opened: 2006-11-13 13:54
I get error message saying "No accessible field named "GRAYSCALE" was found
in type "Temporary_7387_5666" when trying the filter functions exactly as
they are in reference. For example this code gives an error:

PImage a;
a = loadImage("someimage.jpg");
image(a, 0, 0);
image(a, 50, 0);

If I use GRAY, as it is suggested in the reference if you go directly to
filter() and not via PImage -> filter(), instead of GRAYSCALE it will work
as intended. I don't know if it is the reference that needs to be updatet,
or if it is a bug with my PImage class.
Additional Comment #1 From fry 2006-11-13 15:22
please use the version of the reference that's included with your software
(under the help menu)--these names are out of date.
Additional Comment #2 From knut_einar 2006-11-13 18:06
Well, I thought I did exactly that. The reference says "Reference for
Processing (BETA) version 119+", and so I thought the + meant from that
version and up? I'm using version 0121 Beta, and the reference is what I
find under the help menu. Sorry if I miss something here, just trying my
best :)
Additional Comment #3 From fry 2006-11-13 18:08
which reference page are you looking at in particular? filter() seems to be
ok (at least on the site?) is there another that we missed?
Additional Comment #4 From knut_einar 2006-11-13 18:58
I think it's on both places, (both under menu -> help -> reference) and on
the site itself. Thing is that it is two versions of reference to filter(),
one direct from reference, and that one seems to be OK, and one linked from
reference -> PImage -> filter(), and that is where I believe things are not
in perfect order ...

Additional Comment #5 From fry 2006-11-13 19:04
ahh.. now i see it. found and fixed, sorry for the confusion.