jxp

Members
  • Content Count

    32
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by jxp

  1. 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 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. Updated plugin (see first post) to preserve DPI when saving.
  3. Added a fix for the threading issue (see first post). I'm thinking of re-writing this plugin (when I have time ) so I'm just calling this a patch for now.
  4. I've posted a prototype (works but it is limited) in the plugins board. Have a look and let me know what you think.
  5. That's a good idea for a plugin. Give me a few days...
  6. I wouldn't say impossible, but it's taking me a lot longer than I thought. Try asking again in the new year...
  7. There is an Essential Windows 7 handbook out in the UK. http://www.magnesiummedia.com/moremags/ ... ls262.html It has a two page feature on image editing with Paint.NET including a box out for the Custom Brushes plugin.
  8. I have a low color file type plugin that supports saving images to 1bit, 4bit, 8bit and 16bit color depths. viewtopic.php?f=16&t=30638 Also without examining the code posted too much, does it do anything different to the Posterize effect (incuded in Paint.net)? I think setting each Posterize value to 8 (for Red, Green, Blue) will result in 256 possible colors
  9. The error seems to be when the picture is taller than it is wide. I've always used screen sizes (or square) for my testing. I'll investigate. EDIT: This was a really stupid typo. I was using the height to check things across the width. Now fixed, new dll in first post.
  10. 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)
  11. I have now updated my Low Color filetype plugin to include Tiff. I tried saving the same black and white (not greyscale) image using Paint.NET's inbuilt tiff and my low color tiff. The low color image was 1/5 the size.
  12. New update in first post to address the issues raised.
  13. n0tbugme, Yeah I saw that too. As the file was smaller than a 24 bit bitmap I assumed it was just Windows mis-reporting the bit depth. I don't have access to Photoshop. Could you do a very small sample (e.g. 10px by 10px) image for me and I will try to determine the difference.
  14. Some updates (as requested) see first post. Added the 16-bit option for BMP and PNG file types. Also improved transparancy options.
  15. 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. 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)
  16. 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) PosterizeAlpha.zip
  17. 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.
  18. Updated version of plugin in first post. Fixes APShredder's problem (and adds a progress bar).
  19. 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?
  20. It doesn't currently support it explicitly (you could save a black and white image as a 16 color gif). I'll have a look at extending my plugin for you.
  21. 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
  22. 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
  23. 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 ) . 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
  24. 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)