Fisherman's Friend Posted September 1, 2007 Share Posted September 1, 2007 I guess you could write a small .exe that worked from a .dll that you used like a paint.NET plugin. This sound possible. This Greycstoration Beta works the same way (hope the name is correct; btw, is this temporary or vanished it from the plugin board!?). Quote Link to comment Share on other sites More sharing options...
Bob Posted September 2, 2007 Share Posted September 2, 2007 This Greycstoration Beta works the same way (hope the name is correct). No. It's the EVIL Greycstoration plugin. Quote No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio Link to comment Share on other sites More sharing options...
Fisherman's Friend Posted September 2, 2007 Share Posted September 2, 2007 :arrow: If Google would get their "Don't be evil"-fingers on PDN... Now, to make this Idea not die out, has anybody "got his fingers" on it? I mean, is there anybody who would be interested in making a beta plugin for testing purposes? Quote Link to comment Share on other sites More sharing options...
Bob Posted September 2, 2007 Share Posted September 2, 2007 I mean, is there anybody who would be interested in making a plugin If I had better C# knowledge, absolutely. But notice than everybody is starting school or something, so we're all in a rush, but every year (since 3 years OMG OMG) around Nov. or Dec. I try to start learning C# and fail miserably, and this is at the top of my "What can I do to spread the PdN joy to the world" todo-list. So let me kill... errr I mean get my flat stuff done, pay the local phone provider, discover my new uni, get drunk for my birthday, get paid by my summer job employer, build up my new computer, install Vista and PdN on it[1], and I'm at your disposal. BTW, as this is totally kool, it will show up multiple times on digg or on some geek blogs in lack of new stuff, so we'll not forget it (I won't, at least). [1] This list don't include sleeping time, s*x, eating stuff, and drinking beer at any time. Quote No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio Link to comment Share on other sites More sharing options...
tacunic Posted September 9, 2007 Share Posted September 9, 2007 This might not be entirely on topic, but Picutel has released a Photoshop plugin based on this technology. It is available as a free download at http://www.picutel.com. Quote Link to comment Share on other sites More sharing options...
Bobofthedead Posted September 10, 2007 Share Posted September 10, 2007 Maybe you could see if you can get the source code off of these people and convert it... Just a thought... Quote "I am the anarchist, I am the antichrist, I am the walrus, G'JOO G'GOO G'JOOB!" I dig a pygmy, by Charles Hawtree and the Deaf Aids. Phase One, in which Doris gets her oats. ~John Lennon Link to comment Share on other sites More sharing options...
Fisherman's Friend Posted September 10, 2007 Share Posted September 10, 2007 Maybe you could see if you can get the source code off of these people and convert it... Just a thought... I agree. It's really worth a try. :wink: Quote Link to comment Share on other sites More sharing options...
Bobofthedead Posted September 11, 2007 Share Posted September 11, 2007 Mind you, you do have to pay for the full version... Which is a bit sucky... Wonder how we could get around that? Quote "I am the anarchist, I am the antichrist, I am the walrus, G'JOO G'GOO G'JOOB!" I dig a pygmy, by Charles Hawtree and the Deaf Aids. Phase One, in which Doris gets her oats. ~John Lennon Link to comment Share on other sites More sharing options...
Myrddin Posted September 11, 2007 Share Posted September 11, 2007 the earlier closed thread[/url],":e52f8]Has anyone gotten to work on the "content-aware resizing" for Paint.NET?Apparently GIMP just got it: http://arstechnica.com/journals/linux.a...imp-plugin From the above linked article: "This transformation is done in about 2 seconds (mainly because of some calculations in pure Python. For most calculations I use the Python Imaging Library and SciPy/NumPy, which are mainly C modules and much faster). As you can see the implementation still needs lots of love," writes Trangez in a blog entry. "The algorithm itself is surprisingly 'simple' and easy to understand, great job by the researchers!" The source code for his implementation is available in a Git repository. I have no idea what all that means, but what I do understand is that the Git repository link doesn't work, however, the link to the GIMP plugin registry does and it leads to this page, which, if you're having problems downloading, has a further link to this page which has the source code for the plugin. Basically, the source code for the GIMP plugin can be found here: http://web.tiscali.it/carlobaldassi/ Now, does anyone know how to translate...? There is a Photoshop version of this available but does not have accompanying source code. Quote How to Save Your Images under Different File Types My dA Gallery Link to comment Share on other sites More sharing options...
TakeMangaka Posted September 11, 2007 Share Posted September 11, 2007 I just didn't get one thing. It basically would disconsider some parts of the image, or would it consider them, normally resize some of them, while keeping the other ones normal? Something like that Real/Toy Car Conversion? Quote I'm BRAZILIAN! I love Anime Art! Link to comment Share on other sites More sharing options...
david.atwell Posted September 11, 2007 Share Posted September 11, 2007 It looks like it determines the areas with the most detail and changes them as little as possible, changing the un-detailed areas more. I agree, this would be awesome... Quote The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.Amy: But how did it end up in there?The Doctor: You know fairy tales. A good wizard tricked it.River Song: I hate good wizards in fairy tales; they always turn out to be him. Link to comment Share on other sites More sharing options...
gizmomelb Posted September 20, 2007 Share Posted September 20, 2007 no need to pay for the source code, there are a couple of different open source solutions already mentioned in this article: http://www.hackszine.com/blog/archive/2 ... rving.html Open Source Seam Carving For those of you who didn't catch our previous post about seam carving, it's a smart image resizing algorithm, invented by Dr. Ariel Shamir and Dr. Shai Avidan. Where you would normally have to choose between cropping or squeezing/stretching an image to change its aspect ratio, the seam carving method will attempt to find horizontal or vertical paths within the image that can be removed without altering "important" parts of the image, such as people or other objects that would look funny if squished. There are now a couple of open source Actionscript implementations as well as a GIMP plugin that enable you to "liquid rescale" your photos. I'm thinking that with a few simple tweaks, you could hack one of the Flash versions load a user-specified JPG or PNG and provide an interface for adjusting the image. It'd just be a simple matter of doing a screen capture to pull the result back into the image editor of your choice. There's also a Photoshop plugin that claims to do this, but it's closed source, unavailable for macs, and the test version doesn't work for images larger than 640x480. To that I say, "Phtfphpht," but I've included a link in case you are interested. To be fair, it's probably cool... I'm just more excited to see the open source versions surfacing. References: GIMP Liquid Rescale (lqr) plugin - Link Content-aware image resizing in Actionscript (Joa Ebert's original source) - Link Seam carving in Actionscript (Mario Klingemann's optimizations) - Link Pictual: Photoshop plugin for smart resizing - Link Seam carving: content-aware image resizing - Link having this ability in paint.net would be awesome Quote Link to comment Share on other sites More sharing options...
Fisherman's Friend Posted September 20, 2007 Share Posted September 20, 2007 Your links aren't links. :wink: Quote Link to comment Share on other sites More sharing options...
gizmomelb Posted September 20, 2007 Share Posted September 20, 2007 no they're not - you're very observant. it's a cut and paste of the main body of the article to save people having to go read the article just in case they're not that interested. Quote Link to comment Share on other sites More sharing options...
Bob Posted September 23, 2007 Share Posted September 23, 2007 Given the algorithm is freely available, seeing plugin code for another application will not be useful. M2cpdhm. Quote No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio Link to comment Share on other sites More sharing options...
Fisherman's Friend Posted September 23, 2007 Share Posted September 23, 2007 no they're not - you're very observant.it's a cut and paste of the main body of the article to save people having to go read the article just in case they're not that interested. Yeah, indeed. The sad thing for me is that my poor powers of observation will never match your kindness and maturity by far. Quote Link to comment Share on other sites More sharing options...
Bobofthedead Posted September 23, 2007 Share Posted September 23, 2007 Hmm... If the algorithm is there, then surely, it wouldn't be an impossible feat to incorporate it into a tool or plugin... Quote "I am the anarchist, I am the antichrist, I am the walrus, G'JOO G'GOO G'JOOB!" I dig a pygmy, by Charles Hawtree and the Deaf Aids. Phase One, in which Doris gets her oats. ~John Lennon Link to comment Share on other sites More sharing options...
Fisherman's Friend Posted September 23, 2007 Share Posted September 23, 2007 Hmm... If the algorithm is there, then surely, it wouldn't be an impossible feat to incorporate it into a tool or plugin... I don't hink we'll get a tool for it. So we should concentrate on a plugin. Would be easier I think, too. Quote Link to comment Share on other sites More sharing options...
Bobofthedead Posted September 24, 2007 Share Posted September 24, 2007 How would a possible plugin work? I don't see it happening without direct access to the canvas; which plugins can't do. Quote "I am the anarchist, I am the antichrist, I am the walrus, G'JOO G'GOO G'JOOB!" I dig a pygmy, by Charles Hawtree and the Deaf Aids. Phase One, in which Doris gets her oats. ~John Lennon Link to comment Share on other sites More sharing options...
MiguelPereira Posted September 24, 2007 Share Posted September 24, 2007 How would a possible plugin work? I don't see it happening without direct access to the canvas; which plugins can't do. Well i was thinking that it could use an interface like Octagonal/Quad Reshape/Matte plugin with the dots and the preview thingy And as a programmer myself I think that using this kind of GUI (Graphical User Interface) it would easier to use the algorithm to calculate the regions on the image and then re-render it on the canvas. Obviously you could always select the transparent left-over and remove it from canvas, either by creating a new image with the previous reduce image size and the posting it, or by using the align object plugin and then reducing the canvas size. Anyway just a thought Quote [The stock on my sig is a photo I took not a render from Splatter] [My deviantART][My Gallery][My Space] Link to comment Share on other sites More sharing options...
Fisherman's Friend Posted September 24, 2007 Share Posted September 24, 2007 I guess you could write a small .exe that worked from a .dll that you used like a paint.NET plugin.To elaborate. You put the .dll in your paint.net effect folder as per usual. Then when you run the effect with the dll it uses the .exe to talk to the program & resize the image to your required dimensions. I think this should be the way. Fot the beginning, a simple plugin is enough. Quote Link to comment Share on other sites More sharing options...
pyrochild Posted September 24, 2007 Share Posted September 24, 2007 I guess you could write a small .exe that worked from a .dll that you used like a paint.NET plugin.To elaborate. You put the .dll in your paint.net effect folder as per usual. Then when you run the effect with the dll it uses the .exe to talk to the program & resize the image to your required dimensions. I think this should be the way. Fot the beginning, a simple plugin is enough. You misunderstand the plugin architecture. Having a separate .EXE will not give a plugin any more power than it would have if it was all in the DLL file. Yes, GREYCstoration uses a separate EXE, but that is only because the author did not want to go to the trouble of copying all the algorithms from the source code to his DLL, when the EXE was already freely available. Much easier. Point is, no matter what files, filetypes, and number of files you're using for a plugin, it's still going to be limited by the plugin architecture that Paint.NET provides. Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Fisherman's Friend Posted September 25, 2007 Share Posted September 25, 2007 You misunderstand the plugin architecture. Having a separate .EXE will not give a plugin any more power than it would have if it was all in the DLL file. Yes, GREYCstoration uses a separate EXE, but that is only because the author did not want to go to the trouble of copying all the algorithms from the source code to his DLL, when the EXE was already freely available. Much easier. Point is, no matter what files, filetypes, and number of files you're using for a plugin, it's still going to be limited by the plugin architecture that Paint.NET provides. Hmmm... Maybe the planned changes to the plugin system (3.20) will affect this issue in a positive way...? Quote Link to comment Share on other sites More sharing options...
The_Lionhearted Posted September 25, 2007 Share Posted September 25, 2007 I for one am going to pass out from sheer joy when PDN is able to allow plugin authors to do different things with the program, like play with layers and adjustments. I was trying to scriptlab Tom Jackson's "fiery text" tut, but there were multiple layers and I got confused. :? Quote My Gallery Link to comment Share on other sites More sharing options...
Bob Posted September 25, 2007 Share Posted September 25, 2007 Hmmm... Maybe the planned changes to the plugin system (3.20) will affect this issue in a positive way...? Not in this way. Wait at least for v4. And even there I'm not sure it's planned. Wait and see Quote No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.