Jump to content

niwax

Members
  • Posts

    15
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by niwax

  1. I just uploaded the new version and the source code, it's in the first post. Sorry for not commenting it, but it should be easy to understand anyways.
  2. I will the add check box and then release the source code
  3. I'm sorry, i did this offline so i couldn't see the rules. I'll put some new pictures there. //EDIT: done
  4. Scroll down to see the result This is the picture we want to edit: Copy the background layer: And maximize its contrast using Brightness/Contrast: Then select the whole black area with the magic wand and remove it: * Run a gaussian blur: Copy the blurred layer and run zoom blur: You can now change the transparency for a better result: At the point marked with * you can also use the original image instead of white:
  5. Hi. Some days ago i saw an image and had the idea to write a compression algorithm that converts the image in a set of gradients. So here is a first preview: Example nGI Quality 5/10 Chunk size 8 (35KB): nGI Quality 0/10 Chunk size 4 (60KB): JPG (45KB): (Click to enlarge) (Image made by me) As you can see, JPG loses every gradient but has a high contrast at the lines and doesn't even get as small as nGI does, but nGI destroys lines and edges. This example is one of the best, sometimes JPG looks much better than nGI, you can see this in the sample file. How does this work? nGI splits the image into a raster of chunks, that are each converted in either a gradient or a surface. The chunk size defines the surface size of the chunks, bigger chunks will result in smaller files but show less details. nGI can show differences between 256 chunk types but there are only 7 implemented (vertical, horizontal, diagonal, backward diagonal, split horizontal, split vertical and surface), so the quality especially at lines will get much better in future. If you reduce the quality parameter, nGI will use a surface even if there could be a minimal gradient because a surface needs only one color, what results in the half file size. The lines look this bad because a line can't be described by a gradient and will look blurred. Maybe some of the 249 other gradient types could be used for special line types and improve the quality. Downloads Here is a set of demo images with a comparison between nGI, JPG and PNG: nGI Demo.zip (17,88 MB) Program to open nGI's (early beta): ngi_debug_beta.zip (93,89 KB) Why did i post this? If you like this codec and it works well, i will continue developing and publish it as a Paint.net file type. Maybe someone also wants to join this project or i could give the source code to the Paint.net developers. Hope you understood my English and i forgot nothing How do you like this?
  6. It depends on your image - photos will get to 50-80% of their original size and screenshots 20-80%. The example was compressed with strength 3 of 5.
  7. As i can see, the texture effect is exactly the opposite of this one. "Apply Texture" adds another texture (meaning: Like in 3D-Software) to objects and saves the brightness, "Texture effect" only adds the brightness of the texture (meaning: Watermark).
  8. This Plugin applies a texture to any selected object with saving the brightness, so the object looks like it originally had this color. It's easy: You just have to select the object and the new texture. Newest release (17.02.2012): Apply Texture.zip Examples: Before After Click to enlarge
  9. This list is awesome, it needs a search function. Btw: could you add
  10. Thats why its different to OptiPNG: It is an effect ( not a file format ) which just prepares the image for being saved, after that you can save it with PDNs standart PNG format. So the 100% compatibility to PNG is guaranteed. Yes, it has some loss, but if you use the same settings in the same imaage twice there won't be more lost then after the first use. It is also not limited to PNG, you can use it with every other format that has similar compression techniques (e.g JPG). I made it mainly for PNG cause i made an app which does the same only for PNG before i put it into a PlugIn.<br><br><br>EDIT: I saw OptiPNG gets results between 50 and 80%, PNG Preprocessor gets also these results with most images, but i also tested some and got only 20 to 60% of the original size. You have to decide with how much quality loss you can agree.<br>
  11. If these gradients should be connected to one big gradient, you can also use the "Multicolor-Gradient"-PlugIn
  12. After starting from StandBy the Aero-windowframe is reset and PDN looks like on XP (without transparency behind the image thumbnails). This is also when changing to Aero basic and back.
  13. PNG Preprocessor prepares images for being saved as PNG. It optimizes the size of the file to 40-80% of the original size. This is done by combining nearly same colors to one, so the PNG compression algorythm can work more effective. You normally won't be able to see the difference between the compressed and the original image. Download: PNG_Preprocessor.dll (8,19 KB) PNG_Preprocessor.zip Example: Before: 1860 KB After: 957 KB Click the images to see full size - Photo taken by me
×
×
  • Create New...