Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Convert some Photoshop resources (GDR and PAT files) to GIMP's
#11
(04-19-2023, 03:49 AM)PixLab Wrote:
(04-18-2023, 06:53 PM)Krikor Wrote: albeit a tedious task in editing each .pat image one by one.

Krikor, use XnConvert...

30-second video on how to convert Photoshop PAT to GIMP's PAT (or PNG if you wish) > https://imgur.com/O4eK9Ll

EDIT: Um... not working well, more or less like tossing a coin for head or tail, depending where I downloaded the PAT, or I got only the first "page" with all other Pages being the first one, or I got wrong colors or it's all black, or... Sad

@PixLab, this XnConvert looks really interesting and I'll try to download and try it later today.

It looks like your attempt didn't work out well.

You tried to convert to the .pat format of Gimp, but I will try to convert to an image format (pgn, jpg) and then with them open in gimp converts them to .pat.

(04-19-2023, 07:58 AM)rich2005 Wrote: @Krikor  Do you know which version of PS made the pattern ? 

A PS pattern .pat is very different from a Gimp .pat Most are multi-layer and if you put them in your patterns folder you get that typical error message. This one similar to yours

Error loading '/home/rich/gimp210/patterns/PJI-Paper Patterns.pat': Fatal parse error in pattern file: Unknown pattern format version 65536.

What is possible for (some) PS patterns is a pattern loader ps_pat_load plugin see: http://gimpchat.com/viewtopic.php?f=7&t=...ext#p83933  That opens a PS pattern file same as you would any other image. File -> Open. Then you can export layer(s) for Gimp.

That reference is old and I do not know how it copes with up-to-date PS .pat files.  This is the most recent PS .pat I could easily find. Seems to be from 2020 but no info on the PS version used (comes from https://myphotoshopbrushes.com/patterns/id/3913/ ). Not something I use often, looks like I might have compiled the plugin myself for 64 bit linux sometime but the PS .pat looks like this opened in Gimp.

@rich2005, I tried to find out the PS version used, but all I could find is that the tutorial was published on Feb 15, 2023.

I intend to test the 'loader ps_pat_load plugin' but I'm not sure how to proceed.

I think that:
1- I must put the 'ps-pat-load_1.exe' file in the Gimp plugins folder;
2- But what is the 'sources' folder for?
Unzipping the ps-pat-load_1.7z that is inside this folder, the ps-pat-load_1.c file appears. What should be done with this file?

Attached is the .pat I was involved in (it's free to download).

https://photoshoptrainingchannel.com/rea...-download/#
Skin Texture PS .pat

---------------------------------------------------====--------------------------------------------------

After not finding any solution in the searches made by the online search engine, I initially had the idea of asking some PS user to open this .PAT and send me his images.
But then I remembered Photopea's online option where I could try it myself.

Somehow, digging through the menus I managed to get the images. I saved them as .pgn and now have them in my Gimp as .pat.

But it was tedious having to repeat the same process frame by frame. I think that the option you gave, if it works, will speed up this process a lot.

Thank you for your help!
                               .....
Samj PortableGimp 2.10.28 - Win-10 /64.
Reply
#12
@Krikor

Open the zip and from the Windows/64bits folder put the plugin ps-pat-load_1.exe in your Gimp User profile plugins folder. For the samj portable that is ....Preferences/plug-ins

Do not worry about the other files, those for other OS and code for compiling.

The plugin allows you to open the pattern file File -> Open and it opens as layers.

There is a good plugin for exporting layers here: https://github.com/kamilburda/gimp-expor.../tag/3.3.5  (you might already have that or similar) I exported straight to the patterns folder, then refreshed the patterns but anything you like. I tend to use pngs for patterns rather than Gimp .pat files.

With a good bit of editing I can just get that into a 1 minute demo https://i.imgur.com/0xf7KNl.mp4 Win10 / samj portable 2.10.32
Reply
#13
(04-19-2023, 03:10 PM)rich2005 Wrote: @Krikor

Open the zip and from the Windows/64bits folder put the plugin ps-pat-load_1.exe in your Gimp User profile plugins folder. For the samj portable that is ....Preferences/plug-ins

Do not worry about the other files, those for other OS and code for compiling.

The plugin allows you to open the pattern file File -> Open and it opens as layers.

There is a good plugin for exporting layers here: https://github.com/kamilburda/gimp-expor.../tag/3.3.5  (you might already have that or similar) I exported straight to the patterns folder, then refreshed the patterns but anything you like. I tend to use pngs for patterns rather than Gimp .pat files.

With a good bit of editing I can just get that into a 1 minute demo https://i.imgur.com/0xf7KNl.mp4 Win10 / samj portable 2.10.32


Hi rich2005,

I followed your instructions and everything worked.  Smile

The strange thing is that when I used Photopea I got 16 .pat of that same SkinTexture.zip (not just 8).  Huh

I had named my .pat numerically from 001 to 016.
I have now discovered that there are 7 duplicate image pairs, from 002 to 016.
Only .pat 001 and 009 are not duplicated.

Using this plugin was gigantically much faster and even filtered out the duplicity generated by Photopea.  Big Grin

rich2005, thank you very much!
                               .....
Samj PortableGimp 2.10.28 - Win-10 /64.
Reply


Forum Jump: