Jump to content

BoltBait

Administrator
  • Posts

    15,728
  • Joined

  • Last visited

  • Days Won

    405

Everything posted by BoltBait

  1. oma, here is a paper tear that I did: http://www.deviantart.com/deviation/38983738/ What do you think?
  2. There is no need to delete your account. Just don't use it. When you are ready to come back, there it is!
  3. OK. Done! Go get the new version. Version 1.1 updated 2007-07-06 This version is not compatible with 1.0, sorry. - Improved 1Bit images. - Added Preview checkbox so you can see what the hidden image will look like when decoded. - Removed useless color mask option. - Compiled for release instead of debug. Enjoy. 8) Does this get the coveted "Most Useless Plugin" award?
  4. I've been thinking of changing the 1 bit algorithm. It would not be compatible with the current implementation. Any objections?
  5. You could make a lizard skin yourself, then use the Seemless Texture Maker or the Seemless Texture Helper followed by the Photo Flood Fill plugin
  6. I do not think this is possible. Of course, you can always access unselected pixels from the currently selected layer. But, I know that this will not satisfy your request. But, maybe it can get you thinking about a workaround. Perhaps Rick or someone else more expirenced than me can give a definitive answer.
  7. Steganography (version 3.0 Updated 2014-07-12) Alph Tech / STUART requested a plugin to detect hidden messages in existing graphics. Using the least significan bit of color information to encode hidden messages/images is called steganography. More information can be seen at Wikipedia here: https://en.wikipedia.org/wiki/Steganography The Idea My first thought was to devise a code for encoding text to the least significant bit of the target image. This would have worked well, but I saw on the Wiki article that this technique could be extended to images! Cool. So, my second thought was to encode a 1 bit image (black-and-white). I played around with CodeLab until I had something workable. Then I started wondering how many bits it would take to encode a color photograph... Once I had a working algorithm, I found Paint.NET user pleska's photo flood fill plugin source code. I started with his code and made the necessary changes. If there are any bugs in this plugin, of course, I blame pleska. I learned a couple of new things while coding this plugin. First, stay out of other people's namespace. Heh. And, second, I learned how to put multiple plugins into a single DLL file. EDIT: I completely rewrote the UI for v2.0 of this plugin. It is now for Paint.NET 4.0+ only. Also, I broke out the encode and decode effects to separate files. Only crazy people put more than one effect in a single dll file. The Effect DLL If you like it, you can download the precompiled effect here: Steganography30.zip Instructions for Use To use this plugin, you must have 2 image files. Then, follow these steps: 1. Open the graphic into which you wish to hide an image. It is best if this image has lots of detail and not much area that is a solid color. Somewhat darker images seem to work best. 2. Click the Effects > Steganography > ...Encode From File... You will see the following UI: 3. Click on the "Browse" button and select the image you wish to hide. You will see a loading bar while the image loads. This can take some time for large images. 4. Check the "Preview decoded image" check box. This will allow you to see the hidden image while you adjust the various controls. 5. Select the method (either Color or Black and White) for the encoding. 6. Adjust the various controls. When you are happy with how the decoded image will look, UNcheck the "Preview decoded image" check box. 7. Click the OK button to finalize the image. 8. Save your image in a 24-bit lossless format. THIS IS CRITICAL. Lossless formats include PNG and BMP. This will not work if you save as JPG or GIF! To view the hidden image 1. Open the graphic that contains the hidden image. 2. Click the Effects > Steganography > B&W Decoder to view a black and white hidden image. Or, click the Effects > Steganography > Color Decoder to view a color hidden image. Note: There's no way of knowing if a color image, a b&w image, or no image is hidden before running the decoder. Just try one and if it doesn't work just press Ctrl-Z to get back your original. Sample Images This image has a hidden Black & White image: To view the hidden image, right click on the image and pick "Save Image As" to save it to your computer. Then, open the image in Paint.NET and follow the steps above. This image has a hidden Color image: Enjoy 8) EDITS: Version 1.1 updated 2007-07-06: This version is not compatible with 1.0, sorry. Improved 1Bit images. Added Preview checkbox so you can see what the hidden image will look like when decoded. Compiled for release instead of debug. Version 2.0 updated 2014-07-09: Compiled for Paint.NET 4.0. Algorithm is the same, only the UI has changed. Version 3.0 updated 2014-07-12: Added Floyd-Steinberg dithering to hidden image. This dramatically improves the quality of the hidden image.
  8. OK, I'm back from vacation (July 4th, US Independance Day). I'm just putting the finishing touches on the UI. EDIT: OK, its done. http://paintdotnet.12.forumer.com/viewtopic.php?t=5558
  9. Soldier_Dude05, just press ENTER to finalize the first line before starting to draw the second line. Also, #2 is a well-known bug. You don't need to be inside of a selection in order to move it. Just move your mouse outside of the selection until you see the normal move pixels mouse pointer, then you can click and drag your selection.
  10. Two things: [*:88f34]If you want to learn how to use GDI+ in a Paint.NET effect, I suggest you read this source code: http://paintdotnet.12.forumer.com/viewtopic.php?t=2580 Ignore the source code posted in the thread. Instead, look for the VS2005 source code zip file near the bottom of my post. [*:88f34]You do not have access to the selection path (marching ants). I had this same problem when working on the Feather plugin. I solved it by using transparency as an indication instead of the selection path.
  11. I believe that Rick has stated before that he has no plans to support 32bit bitmaps.
  12. Sounds like the file is corrupt. Try to redownload the plugin.
  13. Ah! Well, that's the trick, isn't it?! The functioning of each slider is determined by the code you write! You see, in the original code here: "// TODO: Add pixel processing code here", you simply* have to replace that line with your algorithm which uses the Amount1 variable. In my code example, my algorithm looks like this: // Cyan - Red adjustment R = R + Amount1; G = G - (Amount1 / 2); B = B - (Amount1 / 2); You see, I'm using the Amount1 variable to add something to the R variable, and also using it to subtract half the Amount1 amount from the G and B variables. This is how the Cyan-Red adjustment slider works. Then, you follow the next few lines to see how the other two sliders work. *I* (the effect developer) had to write the code that uses the slider values. I hope this clears things up for you. *When I say "simply", of course I'm making a joke--its only simple for someone who already knows how to write code. As originally stated, this tutorial is targetted to someone who already has a knowledge of C# coding.
  14. Go ahead and open the file (it will open in a new explorer window). Highlight all the files and drag them out of that new window and into the Effects window and let them go. Rerun Paint.NET and let us know if it works.
  15. It has EVERYTHING to do with it. I found the source code to pleska's Photo Flood Fill plugin. I'll just use that.
  16. Anyone have the source code to this? The link is broken and I haven't seen Illnab1024 online in a while. Thanks! (I have an idea for a plugin and this code would be a good starting place.)
  17. OK, I'm on it! I played around with CodeLab today and came up with a decent algorithm. I'll publish something in the next day or so... Hang tight. 8)
  18. PineappleQc, in your code, when you want to access the value of the first slider, simply use the variable Amount1. For the second slider, use Amount2. And, for the third slider, use Amount3. The value of the slider is exactly what the user has moved the slider to. For example, if the user has moved the first slider to 50, the variable Amount1 will have the value of 50 in it.
  19. Show us a picture of what you want to accomplish. Show us a picture of something you've done, but don't like. Then, maybe someone here can help.
  20. Give us a link to the Photoshop tutorial and someone here might translate it for you.
  21. I'm a firm believer in using the right tool for the job. If he NEEDS brush support, Paint.NET is not the right tool for his job... at the moment. Come 4.0, that may change. 8)
  22. When I want to turn off the current selection, I usually just press the ESC key.
  23. This should not have been necessary. Make sure the feather.dll file is downloaded to the C:/Program Files/Paint.NET/Effects folder. You can't just make an Effects folder somewhere on your computer and expect Paint.NET to know where it is located.
×
×
  • Create New...