Fix for bug 1444, the WuQuantizer doesn't work if the colors are already less than 256 so we just create a 8bpp image from the source.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2451 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2013-02-01 16:18:48 +00:00
commit 2730ac5540
4 changed files with 57 additions and 14 deletions

View file

@ -533,7 +533,7 @@ namespace Greenshot.Drawing {
/// <param name="memento">The memento implementing the undo</param>
public void MakeUndoable(IMemento memento, bool allowMerge) {
if (inUndoRedo) {
throw new InvalidOperationException("Involking do within an undo/redo action.");
throw new InvalidOperationException("Invoking do within an undo/redo action.");
}
if (memento != null) {
bool allowPush = true;