Jump to content

Sey

Newbies
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Sey

  1. unknown.png
    ^ this image here.
    saving the image gives "there was an error while saving the file". details are

    Quote

    Exception:
    System.ArgumentException: the maximum # of colors is 256
       at PaintDotNet.Imaging.PaletteTable..ctor(IEnumerable`1 colors) in D:\src\pdn\src_4_3_x\Framework\Imaging\PaletteTable.cs:line 44
       at PaintDotNet.Imaging.ImageColorsAnalysis.Create(IBitmapSource`1 source, ICancellationToken cancelToken) in D:\src\pdn\src_4_3_x\Framework\Imaging\ImageColorsAnalysis.cs:line 104
       at PaintDotNet.Imaging.ImageColorsAnalysis.Create(IRenderer`1 renderer, ICancellationToken cancelToken) in D:\src\pdn\src_4_3_x\Framework\Imaging\ImageColorsAnalysis.cs:line 27
       at PaintDotNet.Data.InternalFileType.OnSaveT(Document input, Stream output, PropertyBasedSaveConfigToken token, Surface scratchSurface, ProgressEventHandler progressCallback) in D:\src\pdn\src_4_3_x\PaintDotNet\Data\InternalFileType.cs:line 111
       at PaintDotNet.FileType`2.OnSave(Document input, Stream output, SaveConfigToken token, Surface scratchSurface, ProgressEventHandler callback) in D:\src\pdn\src_4_3_x\Data\FileType`2.cs:line 39
       at PaintDotNet.FileType.Save(Document input, Stream output, SaveConfigToken token, Surface scratchSurface, ProgressEventHandler callback, Boolean rememberToken) in D:\src\pdn\src_4_3_x\Data\FileType.cs:line 261
       at PaintDotNet.Controls.DocumentWorkspace.<>c__DisplayClass248_1.<DoSaveImpl>b__7() in D:\src\pdn\src_4_3_x\PaintDotNet\Controls\DocumentWorkspace.cs:line 2784
       at PaintDotNet.Functional.Func.Try(Action f) in D:\src\pdn\src_4_3_x\Base\Functional\Func.cs:line 173

    when setting bit depth to anything below 24 or having it on auto detect, the error occurs.
    it originally happened when I was trying to save an image I got after resizing something, screenshotting the resize, resizing again, just messing around like that, I think I also used a brush a bit at one point.
    originally I ran into it on 4.3.3, but occurs with the same image on 4.3.4 too.
    the error doesn´t pop up when I just paste the image onto the standard white canvas and try to save that, cropping to the image and then trying to save it leads to the error again.
    changing canvas width to 15 (from 14) makes it normally saveable again, also tried copying a portion of the image over the white that appeared from resizing the canvas, and that´s saveable too.
    someone ran into a similar error here 

×
×
  • Create New...