null54 745 Posted August 12, 2012 Report Share Posted August 12, 2012 This plugin loads and saves JPEG 2000 images, superseding the old JPEG 2000 plugin. The plugin should be able to load and save most JPEG 2000 images, although loading large images may be slow. Download: Jpeg2000Filetype.zip Source Code: https://github.com/0xC0000054/pdn-jpeg-2000 3 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to post Share on other sites
qwertyuu 2 Posted August 12, 2012 Report Share Posted August 12, 2012 Could you tell us, at least, what a Jpeg 2000 does? Why is it different and why would we use it? Quote Link to post Share on other sites
Rick Brewster 1,754 Posted August 12, 2012 Report Share Posted August 12, 2012 You can get that information pretty easily on the Internet, like say ... http://en.wikipedia.org/wiki/Jpeg_2000 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to post Share on other sites
Ego Eram Reputo 2,756 Posted August 13, 2012 Report Share Posted August 13, 2012 Nice job null54. Thank you. I'll flag the old plugin as obsolete and link to this thread - done. Installation instructions: 1. download the zipped file attached to the first post in this thread. 2. Unzip it. 3. Copy or move the three *.dll files to the Paint.NET/Filetypes/ folder. 4. There may be a conflict between this plugin and the one it superseded. To avoid this you should delete the old plugin - you'll find it in the same folder. 5. Restart Paint.NET. As this is a filetype plugin it will only show up as additional file extensions in the load/save dialogs. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to post Share on other sites
sradforth 7 Posted August 13, 2012 Report Share Posted August 13, 2012 Superb, thanks for the excellent plugin. Wish Paint.NET would have a plugin store where you just tick which ones you want to downoad/buy as this would be a no-brainer for many web artists. (Thinking eclipse like..) anyhow, excellent plugin and will give it a try now. Quote Link to post Share on other sites
null54 745 Posted August 15, 2012 Author Report Share Posted August 15, 2012 Fixed a bug when saving RGB images, file version updated to 1.0.0.1. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to post Share on other sites
papercut 0 Posted August 16, 2012 Report Share Posted August 16, 2012 Hmmm, still not working for me. I got unspecified errors with the 1.0.0.0 version and now it is now saying unrecognized file type with 1.0.0.1 Cheers Quote Link to post Share on other sites
null54 745 Posted August 16, 2012 Author Report Share Posted August 16, 2012 Hmmm, still not working for me. I got unspecified errors with the 1.0.0.0 version and now it is now saying unrecognized file type with 1.0.0.1 Cheers Do you have a link to a file that fails to load? Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to post Share on other sites
null54 745 Posted August 16, 2012 Author Report Share Posted August 16, 2012 The unrecognized file type error is now fixed, file version updated to 1.0.0.2. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to post Share on other sites
papercut 0 Posted August 17, 2012 Report Share Posted August 17, 2012 Hmmm, now it is back to unspecified error. Here is one of the files that is giving problems. From Archive.org: https://dl.dropbox.com/u/7962461/catalogno12400sear_orig_0002.jp2 Thanks for your diligence, not sure why these jp2 files are giving trouble. Some others are fine. Quote Link to post Share on other sites
null54 745 Posted August 17, 2012 Author Report Share Posted August 17, 2012 Hmmm, now it is back to unspecified error. Here is one of the files that is giving problems. From Archive.org: https://dl.dropbox.c...r_orig_0002.jp2 Thanks for your diligence, not sure why these jp2 files are giving trouble. Some others are fine. That file loads fine for me, the only thing I can think of is it may be running out of memory. What OS do you have, how much RAM? Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to post Share on other sites
papercut 0 Posted August 20, 2012 Report Share Posted August 20, 2012 Win 7 64 bit, 4 gigs ram. Lame processor, Crappy video card too. I'll try it on my better/faster rig later. Quote Link to post Share on other sites
wakanasakai 0 Posted September 4, 2012 Report Share Posted September 4, 2012 (edited) My paint-dot-net = 3.5.10 portabLe (from Liberkey). My OS = Windows 7 home premium 64-bit. My laptop = Gateway NV50A. My CPU = AMD phenom II X2 N660 dual-core processor. My graphics card (either that or it's my graphics chip set = ATI mobility radeon HD 4250. My RAM = 4 GB DDR3. My hard drive = 500 GB, WDC WD5000BPVT-22HXZT1 ATA device. My CD/DVD reader & writer = Optiarc DVD RW AD-7585H ATA device. My monitor = Generic PnP monitor. My sound devices = ATI high definition audio device, Realtek high definition audio. My usb game controller = Logitech rumblepad 2 G-UF13. I didn't build this laptop. I bought it online. Ask me for any more info. I downloaded version 1.0.0.2 of this plugin, but when I use it, I get the following error. In the "Save configuration" box, Preview, file size: (error) After I click on the "OK" button, it says, There was an unspecified error while saving the file. Any help with this problem? Edited September 9, 2012 by wakanasakai Quote Link to post Share on other sites
null54 745 Posted September 4, 2012 Author Report Share Posted September 4, 2012 Any help with this problem? The Visual C++ 2010 SP1 runtime is required by the plugin. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to post Share on other sites
odalet 0 Posted June 26, 2013 Report Share Posted June 26, 2013 Hi, @null54, I was wondering, could this plugin support resolution information in the JP2 headers? I know this is optional, and libs such as openjpeg (or FreeImage which embeds it) do not support this yet.Though, you seem to use the jasper implementation; I've downloaded v1.900.1 source code, and it seems to support resolution information (through the JP2_BOX_RESC and JP2_BOX_RESD boxes defined in jp2_cod.h). Or, is there a possibility you publish your plugin's source code? Regards, Olivier Quote Olivier DALET http://odalet.wordpress.com Link to post Share on other sites
null54 745 Posted June 27, 2013 Author Report Share Posted June 27, 2013 Hi, @null54, I was wondering, could this plugin support resolution information in the JP2 headers? I know this is optional, and libs such as openjpeg (or FreeImage which embeds it) do not support this yet.Though, you seem to use the jasper implementation; I've downloaded v1.900.1 source code, and it seems to support resolution information (through the JP2_BOX_RESC and JP2_BOX_RESD boxes defined in jp2_cod.h). Or, is there a possibility you publish your plugin's source code? Regards, Olivier That should be simple enough to implement. Do you have any example files with DPI information? Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to post Share on other sites
null54 745 Posted July 2, 2013 Author Report Share Posted July 2, 2013 Added support for loading and saving the resolution and transparency information, file version updated to 1.0.0.3. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to post Share on other sites
david.atwell 290 Posted February 24, 2014 Report Share Posted February 24, 2014 JPEG 2000 is more standard really. It isn't great, but it isn't changing any time soon.. To clarify, it's the most recent standard to be released by the JPEG working group. The standard JPEG that Paint.NET saves in is still the more commonly used file format. 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 post Share on other sites
null54 745 Posted June 24, 2016 Author Report Share Posted June 24, 2016 Fixed a rare crash and improved performance when saving, file version updated to 1.0.0.4. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to post Share on other sites
mustard 0 Posted August 14, 2016 Report Share Posted August 14, 2016 Would .jpf compatability be possible? Quote Link to post Share on other sites
null54 745 Posted August 14, 2016 Author Report Share Posted August 14, 2016 3 hours ago, mustard said: Would .jpf compatability be possible? You could try renaming the file extension to JP2 and see if the file loads. JPF is an extension of the JP2 format and the JasPer library used by this plugin does not support the extended format, but some files may work. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to post Share on other sites
Filip107Plays 0 Posted October 1, 2016 Report Share Posted October 1, 2016 (edited) [deleted] Edited July 15, 2020 by Filip107Plays Quote Link to post Share on other sites
null54 745 Posted October 2, 2016 Author Report Share Posted October 2, 2016 14 hours ago, Filip107Plays said: Can you help me please? Fixed in 1.0.0.5. It appears that the behavior of the DLLImportAttribute's ExactSpelling field differs on the 32-bit vs 64-bit CLR. The 64-bit CLR searches for the stdcall mangled names when ExactSpelling is true and the 32-bit CLR does not. 1 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to post Share on other sites
IRON67 357 Posted October 6, 2016 Report Share Posted October 6, 2016 (edited) Hi, i just read, that there is a vulnerability in OpenJPEG that allows execution of malware-code by manipulated JPEG2000 files. http://www.talosintelligence.com/reports/TALOS-2016-0193/ Now I want to know, wether this plugin is affected or not. Edited October 6, 2016 by IRON67 Quote Link to post Share on other sites
null54 745 Posted October 6, 2016 Author Report Share Posted October 6, 2016 5 hours ago, IRON67 said: Now I want to know, wether this plugin is affected or not. This plugin uses JasPer not OpenJPEG. 1 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to post Share on other sites
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.