Jump to content

jxp

Members
  • Posts

    32
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by jxp

  1. Thanks for the plug-in. I'm sorry to say that it's not working for me though. When I go to file properties, it says that the 16 bit (65000 color) .png files are 32 bit depth files, which won't work for my purposes. The .bmp are actually saving as 16 bit images though.

    The files are actually 16-bit (you can tell because they are smaller than 24-bit versions). There are different variants of 16-bit though. I've managed to get the right one for bitmaps now. Have you seen a "proper" 16-bit png? Can you provide me with a sample? I had a quick look in Photoshop but the 16-bit option seemed to be 64-bit PNG (i.e. 16-bits per channel, not 16 per pixel).

    I use this plugin a lot, usually with PNGs. Sadly, there seems to be a bug. Sometimes, directly after the file is saved, the entire apllication freezes. You can't do anything, even the "X" to close Paint.NET doesn't work. Clicking the Paint.NET window results in error sounds. I always have to close Paint.NET via the Task Manager.

    I also had this behaviour the other day. I will try and look at this soon and fix the problem. I think there something I'm doing that is incompatible with Paint.NET 3.5 (This issue never occurred previously). I'm very busy with other things so it may take me a while. Sorry!

  2. I get crashes too (Win XP). Error details are;

    File: C:\Program Files\Media\Paint.NET\Effects\Anaglyph.dll

    Effect Name: Anaglyph.EffectPlugin

    Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.

    at System.Drawing.Bitmap.UnlockBits(BitmapData bitmapdata)

    at Anaglyph.EffectPlugin.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length)

    at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderImpl()

    --- End of inner exception stack trace ---

    at PaintDotNet.Effects.BackgroundEffectRenderer.Join()

    at PaintDotNet.Effects.BackgroundEffectRenderer.Abort()

    at PaintDotNet.Menus.EffectMenuBase.RunEffect(Type effectType)

  3. As requested here are some sample pics.

    The first is to show the 256 option (using opaque colours).

    The picture contains 3 sets of color bands (grey, red, green, blue) each varying in intensity from 0 to 255.

    The first set of bands is the original showing a smooth progression from black to the relevant colour.

    The second set shows the standard Posterize effect applied to this image with Red & Blue set to 16 but Green set to 64 (max value). You can see bands in each strip (especcially at the darker end).

    The third set shows the Posterize Alpha effect applied (to opaque colours) with value 16 for red & blue but 256 for Green. The green colour band now has no banding.

    30002_01d42221a7414a37093793aa50091386

    The second image is to show the transparancy option.

    The picture contains 3 sets of solid blocks of colour (blue, green, red, white) each with varying alpha values (0 to 255).

    The standard posterize adjustment has no effect on this image!

    The first set of bands shows the original with smooth variance of the transparancy.

    The second set of bands shows a posterize value of 4 applied to the alpha channel (so there are only four possible alpha values).

    The third set of bands shows the transparent only value being applied. The threshold was set at 220. You can see the topmost block has a few colours that have been posterized to fully opaque but the rest (above the threshold) are unchanged

    (This can't be viewed inline as it blanks out the tranparancy)

    30002_9b0640093205420b39038c479a6b88f3

  4. To cut a long story short I wrote a new posterize effect and then didn't actually need it :oops: . Anyway it's all written so I thought I may as well post it.

    Hopefully someone else will find a use for it.

    It's based on the standard Posterize adjustment effect with the following enhancements;

    Allows posterization of the Alpha channel

    Allows up to 256 variations per channel (i.e. no posterization)

    Allows a transparency threshold to be applied (so only transparent or opaque colors can be effected)

    30002_45c42d987d296079a5850ae96488b119

    PosterizeAlpha.zip

  5. Following on from EgoEramReputo's plugin index. I have now completed my Plugin gallery.

    Basically it lists every single plugin available for Paint.NET. I have also produced a sample image for each one.

    EER's index is perfect for when you need to find something you've seen before. My gallery is more targeted at showing what the available options are.

    It should all be up to date but there are several enhancements I have planned for the site.

    Big Thanks to EER as his index was a fantastic starting point for me and he also helped with checking my work and designed an initial layout for the site. :D

  6. APShredder, can you give me a bit more detail?

    How are you trying to change the folder? Are you clicking the ellipsis (...) button or editing the text?

    What does the palette folder show when you first run the plugin?

    What happens with the crash? Does everything freeze? Do you get an error message (if so what is it)?

    Is there a file called PDNCrashLog on your desktop (if so please let me see it)?

    Finally, what version of Windows are you running?

  7. A couple more comments on file types;

    Filetypes have no control over the open/save dialog but can present their own dialog as well.

    When opening, a file type plugin can return null or a 0 size document (don't know which is preferred) if the user cancels a custom dialog.

    I have not found any good way to cancel a file type save dialog. I always end up with a zero byte file on disk.

    The Paint.net jpg dialog allows a cancel, but plugins don't seem to be able to be consistent with this :(

  8. Admins Note: This plugin is not completely compatible with the latest versions of paint.net (beyond 4.0.12).

     

    When working with images I like to be able to have a relevant palette.

    The attached effect plugin uses the current image to create a paint.net palette file. Both dll files are required for this "effect".

     

    When you first run it (from Effects -> Tools -> Palette From Image) you need to enter the Palettes folder (usually My Documents\Paint.NET User Files\Palettes). This then gets saved for subsequent uses.

    The default palette name is PDN Current Image (so it's not likely to clash with any you might already have). This file can be overwritten each time. After the effect is run the new palette appears in the Paint.net palette list ready to use.

     

    Hidden Content:
    UPDATE 05-July-09

    Renamed settings file to match the dll

    Added checking for invalid filename characters

    Generated palette sorted by HSV

    UPDATE 01-Aug-09

    Fixed file access issue (for APShredder)

    Added progress bar to palette generation

    Fixed form positioning

    UPDATE 11-Nov-09

    Patched for threading issue with v3.5

     

    PaletteFromImage.zip

     

    • Upvote 2
  9. I started web development in the dial-up days. In those times every byte counted. Because of this I've developed a habit of using 16-color bitmap and gif files (when appropriate).

    This file type plugin allows you to save images as 16 color bitmaps or gifs. Obvously full color photos will look terrible but simple logos and small grayscale images can look good (and save precious bytes :lol: ) . This plugin adds the options Bitmap (low color) and GIF (low color) to the save as type drop down. (and now png and tiff too)

    Not massively useful but I wanted it and it was interesting developing them. A 16 color bitmap uses half the space for the image than a 256 color one (it also has a much smaller palette!). A 16 color gif is more efficient to compress with a lower number of colors.

    Previous updates

    Hidden Content:
    UPDATE 28 July 2009

    Renamed dll from 16Colors.dll to LowColor.dll

    Use Paint.NET save configuration (displays file size and progress)

    Added Black & White mode

    Added Custom colors mode (2 - 256)

    Added PNG support

    Renamed file types to Bitmap (Low Color) from Bitmap (16 color) etc.

    UPDATE 31 Aug 2009

    Added transparency threshold for improved handling of transparent images

    Added 16-bit option (65,000 colours) for BMP and PNG files

    UPDATE 25 Sep 2009

    Added Tiff support (for D_M_S in General Qs forum)

    Changed bmp unused palette bits to 0 (for Monty Burns)

    Changed 16-bit format to be recognized by Windows (for n0tbugme)

    UPDATE 07 Oct 2009

    Fixed stupid, stupid (stupid) bug for tall images

    UPDATE 04 Dec 2009

    Preserve DPI setting when saving

     

    Download >> LowColor.zip

     

  10. Funnily enough I was also working on something along these lines.

    I was taking the approach of listing each plugin by its menu name (categorised by the main Paint.net Effects types). I was also running each plugin on a sample image (or blank image for render plugins).

    Effects are such visual things I thought it was worth seeing what they are like.

    e.g Parrot is orginal image, then apply each effect to it. So far I've done about 100 images.

    I was thinking that it would help to have both the DLL filename (some effects are in combined dlls) and the menu name as well as a link to the relevant Plugin forum topic.

    My ultimate intention was to have some web pages that would show the images and you could click on the link to see the thread about that plugin. (view the attached image to see what I mean)

×
×
  • Create New...