Page 1 of 1

Upgrade from 6.5.3 to 6.8.0 resulst in identifier not found

Posted: 2012-12-16T11:43:51-07:00
by Bob Freeman
Hello , when I compiled the new source and moved it into my project , I get ScaleCharToQuantum 'identifier not found' in this bit of code.....

for (x=0; x < colCount; x++){
q->red=ScaleCharToQuantum(pBits->rgbRed);
q->green=ScaleCharToQuantum(pBits->rgbGreen);
q->blue=ScaleCharToQuantum(pBits->rgbBlue);
q->opacity=OpaqueOpacity;
pBits++;
q++;
}


any suggestions? many thanks if so

Re: Upgrade from 6.5.3 to 6.8.0 resulst in identifier not fo

Posted: 2012-12-16T12:16:55-07:00
by magick
ScaleCharToQuantum() is a private method found in magick/quantum-private.h.

Re: Upgrade from 6.5.3 to 6.8.0 resulst in identifier not fo

Posted: 2012-12-17T16:27:31-07:00
by anthony
Private methods should not be used outside the library. They are not API functions.