sarreq Posted March 9, 2007 Share Posted March 9, 2007 I don't know how popular or feasible it would be, but I just read about MS's new HD Photo format, and I was wondering if it were possible for someone to make a PDN plugin? so far I can't seem to find any programs or PS plugins which support it (except the beta one by MS which doesn't work in PSP), and however Vista's Windows Photo Gallery is supposed to export files, I can't figure out, and I'd like to see for myself if it's worth anything. MS's Device Porting Kit HD Photo Feature Spec v1.0 Bill Crow's HD Photo Blog Entry Wikipedia Quote Link to comment Share on other sites More sharing options...
Crazy Man Dan Posted March 9, 2007 Share Posted March 9, 2007 Please, read the sticky at the top: This forum is reserved for plugin publishing ONLY Moved to Questions and General Discussion Edited thread title to be less generic Quote I am not a mechanism, I am part of the resistance; I am an organism, an animal, a creature, I am a beast. ~ Becoming the Archetype Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 9, 2007 Share Posted March 9, 2007 Yes, it's possible. I already have a prototype working. It's a pretty simple matter to use the WIC hooks that WPF provides. The hardest part is determining which subset of codec configuration properties to support. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 9, 2007 Share Posted March 9, 2007 The other issue is that Paint.NET needs the ability for a file format plugin to provide a load-time UI. This UI could be for configuration (esp. important for RAW) or for warning (esp. important for HDPhoto's more-than-32 bits-per-pixel formats). Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
RejZoR Posted March 9, 2007 Share Posted March 9, 2007 Good to hear PDN will support it (since i don't have and want Photoshop). HD Photo standard is completelly open and it looks very promising. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 9, 2007 Share Posted March 9, 2007 Good to hear PDN will support it (since i don't have and want Photoshop). HD Photo standard is completelly open and it looks very promising. Well I never promised anything. I said I had a prototype. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
barkbark00 Posted March 9, 2007 Share Posted March 9, 2007 pro·to·type (prÅ Quote  Take responsibility for your own intelligence. -Rick Brewster Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 9, 2007 Share Posted March 9, 2007 Yes but that definition does not contain anything about the "product" actually shipping. (Hey if you can be pedantic, so can I!) Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
barkbark00 Posted March 9, 2007 Share Posted March 9, 2007 Yes but that definition does not contain anything about the "product" actually shipping. True, but I am sure that there are some people that would be happy with your "working prototype"... Still friends? Quote  Take responsibility for your own intelligence. -Rick Brewster Link to comment Share on other sites More sharing options...
RejZoR Posted March 9, 2007 Share Posted March 9, 2007 Well JPEG is imo obsolete so it would be a smart move to support something new. PNG is very kewl, but it's compression algorithm isn't the best. Even though it's lossless... Quote Link to comment Share on other sites More sharing options...
usedHONDA Posted March 9, 2007 Share Posted March 9, 2007 Yes, it's possible. I already have a prototype working. It's a pretty simple matter to use the WIC hooks that WPF provides. The hardest part is determining which subset of codec configuration properties to support. That's it Rick, just use complex words in your posts and nobody can argue with you Quote "The greatest thing about the Internet is that you can write anything you want and give it a false source." ~Ezra Pound twtr | dA | tmblr | yt | fb Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 9, 2007 Share Posted March 9, 2007 True, but I am sure that there are some people that would be happy with your "working prototype"... Still friends? Well it isn't really a shippable prototype* -- it doesn't have a UI, and there are parts of Paint.NET that need revision in order to make provide first-class HD Photo codec support. I'm not really a fan of shipping something that's, well, half-assed. I think it does more harm than good for something like this. * By definition you don't ship a prototype -- at least in software, no matter what Webster's says Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
barkbark00 Posted March 9, 2007 Share Posted March 9, 2007 Wait, what was this thread about again?? I'm gonna shut up* now... Quote  Take responsibility for your own intelligence. -Rick Brewster Link to comment Share on other sites More sharing options...
usedHONDA Posted March 9, 2007 Share Posted March 9, 2007 I'm not really a fan of shipping something that's, well, half-assed. That's why we have an Alpha Release Quote "The greatest thing about the Internet is that you can write anything you want and give it a false source." ~Ezra Pound twtr | dA | tmblr | yt | fb Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 9, 2007 Share Posted March 9, 2007 Wait, what was this thread about again??I'm gonna shut now... Err ... who knows Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 9, 2007 Share Posted March 9, 2007 That's why we have an Alpha Release Actually for something like the HD Photo support, I was thinking I would release a plugin that simply expired if the version of Paint.NET that was hosting it was, say, 3.10 or higher. That way we would have the plugin available for use and kicking around, and the promise that once 3.10 came around either (1) you'd get a new version of the plugin, or (2) it would just be built-in to Paint.NET. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Illnab1024 Posted March 9, 2007 Share Posted March 9, 2007 Good idea. Why don't you do this with all your effect/filetype prototypes? Quote ~~ Link to comment Share on other sites More sharing options...
sarreq Posted March 10, 2007 Author Share Posted March 10, 2007 Yes, it's possible. I already have a prototype working. It's a pretty simple matter to use the WIC hooks that WPF provides. The hardest part is determining which subset of codec configuration properties to support. I'd say as much as possible, minus the color depths PDN doesn't support, for now at least. for one, I'd certainly like to be able to have my alpha channeled PNGs replaced with smaller files once the browser support is in place (other than IE7) The other issue is that Paint.NET needs the ability for a file format plugin to provide a load-time UI. This UI could be for configuration (esp. important for RAW) or for warning (esp. important for HDPhoto's more-than-32 bits-per-pixel formats). I know this wouldn't work at all for color depth load warnings, but would it be feasible, until 3.1, to use an effect plugin to set the save options? Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 10, 2007 Share Posted March 10, 2007 sarreq, There's already the ability for a file type plugin to have a UI for configuring saving. What we don't have yet is the ability to provide a UI to configure loading*, or generally for the loader to be able to ask the user questions ("Do you care that I'm down-converting your 64-bpp image to 32-bpp? Yes/No/Die"). This is something that Evan Olds really wanted for some of his plugins ("which frame of this animated cursor do you want to load?"). Since there was no built-in file type that needed this functionality, I wasn't comfortable adding the capability (it's a very bad idea to add something when you can't verify that it works!). * Yes you can show UI by calling straight in to the .NET UI stuff, but Paint.NET won't be expecting it and so things might get weird for the plugin author down the road when we do add support. Right now Paint.NET is assuming and asserting that it is in control of the UI for the entire loading and saving processes. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 10, 2007 Share Posted March 10, 2007 Good idea. Why don't you do this with all your effect/filetype prototypes? 1) Because Effects can't work in this way*. An effect cannot 'hide' itself based on its own, dynamic criteria. File types can because they are based on a factory pattern. Instead of looking at a DLL and finding all its file types, I look for its file type factories which then can dynamically provide me with a list of concrete file types based on whatever criteria the plugin author cares about. This criteria is usually just a static list of file type instances. However, this enables scenarios like plugin adaptation whereby maybe you have a "Irfanview plugin adapter" that can take any number of non-Paint.NET plugins and dynamically adapt them all to work with Paint.NET. But it's not like the plugin author wrote 50 adapters: they wrote 1 and then the factory creates 50 instances of the adapter where each on points to a different Irfanview plugin. Make sense? 2) But that's really just a long-winded technical reason. Nothing stops me from putting code in the next 0.01 update to enable this. The real reason we haven't done this for any codecs is ... because we've never published a file type plugin * ... yet Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
BoltBait Posted March 10, 2007 Share Posted March 10, 2007 I could write a plugin that on an Intel processor does some new fancy wizbang thing and on AMD it does nothing. Seems to me that anything is possible. Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
Illnab1024 Posted March 10, 2007 Share Posted March 10, 2007 Good idea. Why don't you do this with all your effect/filetype prototypes? I will emphasize the ":P", because I knew exactly why; at the least, good explanation. Quote ~~ Link to comment Share on other sites More sharing options...
usedHONDA Posted March 10, 2007 Share Posted March 10, 2007 I could write a plugin that on an Intel processor does some new fancy wizbang thing and on AMD it does nothing.Seems to me that anything is possible. 1. Fancy wizbang? 2. I know your joking, but that's basically creating a virus. I'm dealing with a virus that closes apps that display certain words (virus names, anti-spyware/anti-virus software, Google, etc.). 3. I hope your joking... Quote "The greatest thing about the Internet is that you can write anything you want and give it a false source." ~Ezra Pound twtr | dA | tmblr | yt | fb Link to comment Share on other sites More sharing options...
BoltBait Posted March 10, 2007 Share Posted March 10, 2007 I'm not joking. I would be quite easy. Maybe I'll just set it up so that on an AMD it will give a warning dialog box that says, "Time to upgrade your PC" and then closes paint.net. Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 10, 2007 Share Posted March 10, 2007 Right but what you would not be able to do is write a plugin that simply didn't show up on an AMD system.* * Ok ok I guess that's not entirely true. You could always throw an exception in the constructor for the effect in which case Paint.NET would silently throw it away. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html 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.