Search found 1 match

by drcool
Tue Jun 19, 2007 6:38 am
Forum: GFL SDK
Topic: OLE_COLOR format
Replies: 5
Views: 5745

ReplaceColor() "Bad parameters" problem solved

I had the exact same problem and was able to figure it out. I kept getting the "Bad parameters" error no matter what I tried.

It turns out the problem is that I was trying to replace a color on a 1-bit GIF image. The new replacement color wasn't part of the GIF's palette. I had to first do a ...