mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
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:
parent
e30939093a
commit
2730ac5540
4 changed files with 57 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue