Jump to content

Photoshop Pattern Filetype (2020-08-12)


Recommended Posts

This plugin allows Paint.NET to load and save the Pattern files used by Photoshop's Fill command.

Only Grayscale, Indexed and RGB mode patterns (8-bit and 16-bit) are supported.

 

Download:

 

PatternFileType.zip

 

Source Code:

 

https://github.com/0xC0000054/pdn-photoshop-pattern

  • Like 1
  • Upvote 1

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint 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

Nice. Would you add some more info about (or a reference to) the file type specification and maybe some example files?

Always interested in this file type stuff.

As far as I can tell the pattern format has never been publicly documented by Adobe, this is the closest thing to a spec I have found (although it is wrong in a few places).

You can find plenty of example files on the web, I also created a few samples to test the indexed color and 16-bit formats.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint 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

Just confirming - load only/no save?

Link to post
Share on other sites

Plugin placed in the Paint.NET\FileTypes folder. But it does not appear in the open file selector after restart.

W7, Paint.NET 3.5.10. Any idea?

That issue has been fixed along with another bug, file version updated to 1.0.0.2.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint 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

Works for me now. You may add a little bit more information about what the plugin supports.

My interpretations ;-)

- Creates for each pattern in the file a new layer (using the name of the pattern)

- The layer size is the maximum width and height of all patterns in the file

- Supports transparency

midora%20signature.gif
Link to post
Share on other sites
  • 2 years later...

how do you load them have tried but it will not load them properly

thanks

 

Make sure you have placed the plugin in the FileTypes folder, then the Photoshop Pattern option should appear in the File->Open dialog

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint 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

Fixed loading indexed color patterns with transparency.
Improved performance when loading and saving.

  • Like 2

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint 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

Release version 1.0.6.

Changes:

  • Throw an exception for unsupported image types.
  • Reduced memory usage when loading.
  • Like 2

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...