Jump to content

Amaroq Dricaldari

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by Amaroq Dricaldari

  1. Yeah. JPG was specified.

     

    Not sure why you want to save in JPG, though, there are better formats out there (depending on what type of graphics you are working with).

     

    If you are working with any sort of transparency, animation or just want to preserve quality... then JPG isn't for you. WebP, an opensource format, is similar to PNG except that it supports animation (to my knowledge), and has an option for lossy compression (though it is still a lot smarter than JPG, and thus will have less of a loss in quality). You can actually get a plug-in for Paint.NET to support WebP graphics.

    • Upvote 1
  2. I've attached a RAR archive containing some problem TGA files, and a TXT file containing information on the errors associated with trying to open them.

    animfizzle_128x64x4.tga
    System.FormatException: color index was outside the bounds of the palette
       at PaintDotNet.Data.TgaFileType.ReadColor(Stream input, Int32 pixelDepth, ColorBgra[] palette) in D:\src\pdn\src\PaintDotNet\Data\TgaFileType.cs:line 608
       at PaintDotNet.Data.TgaFileType.ExpandUncompressedLine(MemoryBlock dst, Int32 dstIndex, TgaHeader& header, Stream input, Int32 width, Int32 y, Int32 xoffset, ColorBgra[] palette) in D:\src\pdn\src\PaintDotNet\Data\TgaFileType.cs:line 595
       at PaintDotNet.Data.TgaFileType.OnLoad(Stream input) in D:\src\pdn\src\PaintDotNet\Data\TgaFileType.cs:line 455
       at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 496
       at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158
    
    Wipeout_Clouds_D_128x64x4.tga
    System.FormatException: color index was outside the bounds of the palette
       at PaintDotNet.Data.TgaFileType.ReadColor(Stream input, Int32 pixelDepth, ColorBgra[] palette) in D:\src\pdn\src\PaintDotNet\Data\TgaFileType.cs:line 608
       at PaintDotNet.Data.TgaFileType.ExpandUncompressedLine(MemoryBlock dst, Int32 dstIndex, TgaHeader& header, Stream input, Int32 width, Int32 y, Int32 xoffset, ColorBgra[] palette) in D:\src\pdn\src\PaintDotNet\Data\TgaFileType.cs:line 595
       at PaintDotNet.Data.TgaFileType.OnLoad(Stream input) in D:\src\pdn\src\PaintDotNet\Data\TgaFileType.cs:line 455
       at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 496
       at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158

    Any advice would be appreciated.

    TGAERROR.RAR

    TGAERROR.TXT

  3. Trying to import images of any kind that are in a format only supported via a plugin results in the following error:

    System.TypeLoadException: Could not load type 'PaintDotNet.Threading.PrivateThreadPool' from assembly 'PaintDotNet.Core, Version=4.12.6099.39434, Culture=neutral, PublicKeyToken=null'.
       at PaintDotNet.Data.PhotoshopFileType.PsdLoad.Load(Stream input)
       at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 496
       at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158

    The error does not go away by disabling Real Time Protection on Microsoft Security Essentials (the Windows 7 equivalent to Windows Defender), and it ONLY occurs when trying to use plugins to open images such as .APNG, .PSD, .AGIF, .VTF, etc. Exporting in Plugin formats, or opening image formats natively supported by Paint.NET, works just fine.

  4. And the problem happened again, this time when I tried to open a .PSD

    It seems that the problem only occurs whenever I try to open a Plug-In filetype, but I can still save in those filetypes just fine.

    System.TypeLoadException: Could not load type 'PaintDotNet.Threading.PrivateThreadPool' from assembly 'PaintDotNet.Core, Version=4.12.6099.39434, Culture=neutral, PublicKeyToken=null'.
    
       at PaintDotNet.Data.PhotoshopFileType.PsdLoad.Load(Stream input)
    
       at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 496
    
       at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158

    As it stands, I still have no idea if it's just a problem on my end (messed up installations), or if it's a problem with the newest version of Paint.NET.

  5. System.NullReferenceException: Object reference not set to an instance of an object.
       at MyAnim.PNG.PNGAnim.CreatePNGStatic(Int32 frameIndex)
       at MyAnim.PNG.PNGAnim.ParseFrame(Surface scratch, Int32 frameIndex)
       at MyAnim.PNG.PNGAnim.GetFrames()
       at MyAnim.PNG.MyAnimPNG.OnLoad(Stream input)
       at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 495
       at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158

     

    The problem files are attached

    ICON0.APNG

    ICON1.APNG

    ICON2.APNG

    EDIT: Assuming it's a problem with the newest version of Paint.NET, and the plugin needs to be updated... then while you're at it, I suppose having an actual "Desired Framerate" box (and an animated preview) wouldn't hurt either.

  6. Have you looked at this website yet?
    https://pngmini.com/lossypng.html

    I first heard about Lossy PNG encoding there; you should consider taking it a look, if my eyes do not deceive me, then they actually have the Source Code available... which means it can be turned into a Paint.NET plugin instead of a standalone program, it would get better results than TinyPNG, and most importantly it wouldn't require an online service.

    It can also do low-color paletted images that still contain an alpha channel... of course, it's not compatible with Paint.NET's native PNG exporting, but it is still pretty sweet none the less. (Can't wait for 24-bit images with transparency threshold, or alpha-channel dithering for transparency thresholds)

  7. Has there been any progress on this since the last post? 
    The Color Wheel could be adjusted to show two color boxes and two "cursors" in order to have "To" and "From at the same time.

    Another handy addition would be the option to convert (and invert) entire channels to alpha, like transforming the blue parts of a wallpaper into a transparent portion.

    Just some ideas.

  8. I have the latest version of Paint.NET, which is supposed to automatically run in 64-bit mode if you have a 64-bit Windows installation and 64-bit capable hardware, which I checked time and time again to make sure that I have...

     

    And I still have no idea how to generate a Deep Color image file. I know that my computer monitor can't even reach the full 8-bit per-[color-channel-per-]pixel gamut, but I still want to know for the future once 10bpp HDR monitors become more widely available, or more importantly, more affordable.

  9. @Rick-Brewster Sorry about that.

     

    @Ego-Ram-Reputo My programming skills are negative if anything. When I was younger, I tried learning python, but even after following the instructions in the book word for word, all I got was a text-only guessing game that didn't even work as the book said it would.

  10. I'm looking for a plugin to import and export Unreal Texture Packages, or UTX files, as I am modding Unreal Tournament. Can anybody help out with this?

     

    I looked, and I could not find a UTX plugin. I did find a VTF plugin a while back, so I know that people are making PDN plugins to help the modding communities for games.

×
×
  • Create New...