Jump to content

Recommended Posts

Posted

I spent the last weekend creating a tool to convert Adobe suite .grd gradient files to .afpalette files for use in the Affinity suite.

There are so many great resources for gradients out there but no easy way to get them into Affinity applications without a lot of manual labour.

The tool is hosted on GitHub (the Javascript code is available for the curious), but all processing is done in your browser. No files are uploaded anywhere.

https://mikestimpson.com/GrdToAfpalette/

There are a few limitation around colourspace (RGB only) and transparency (not supported), and I have not tested with a huge number of .grd files. It works for what I needed 🙂

Grd to Afpalette Converter.png

Posted

Mind officially blown, thank you @Balakov

Stock Photoshop Gradients.zip

iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

  • 2 weeks later...
  • 3 weeks later...
Posted

Thank you for sharing but I 🤣 when I was noticed "transparency not supported'' ---- the only preset grads I was looking for
Back to the drawing board (Lr5 grad tool 😁

Posted

I added partial support for transparency a while ago, but the trouble is that Adobe palettes support more complex transparencies than Affinity can cope with. Transparency stops are completely separate from the colour stops which allows for complex transparency gradients on simple colour gradients or vice versa.

The converter supports transparency only when the transparency stops exactly match the colour stops, but looking at the screenshot you posted in the other forum, that's  likely not going to help with that you need.

I have a plan for sometime in the future to "fake" more complex transparencies by adding dummy colour stops. I just haven't got around to it yet.

Posted

@Balakov thank you, I will look forward your "fake" LOL ; in the mean time I will just wander back to Lr5 for my rather simple grad needs or I might fire up the other "ONE" :eek: 🤫 .

Posted

@ianrb I've just pushed a version that should support transparency. See how you get on with that!

Gradients with complex transparency may be a bit fiddly to edit in Affinity because of the fake stops I add to carry the transparency info when there's no colour stop to attach it to. They should work fine as-is though. There will also be an inconsistency if you have a colour stop and a transparency stop at exactly the same location with different midpoints. At that point we've hit the limits of what you can do with Affinity gradients though, and it shouldn't be a very common occurrence.

Next task, HSB gradient support!

 

Posted

HSB gradient support is in. That should cover most freely available Photoshop gradients.

If anyone desperately wants support for CMYK, Grayscale or Lab colour gradients, and they have an example .grd file they can send me, just let me know. The code isn't hard, but I don't have any examples to test against.

  • 2 weeks later...
Posted

Thank you! great tool!

Platform: MacBook Pro 15-inch, 2017, Silver (Macbook Pro 14,3)

CPU: 2,9 GHz Quad-Core Intel Core i7

GPU: Radeon Pro 560 4 GB

Integrated GPU: Intel HD Graphics 630 1536 MB

RAM: 16 GB 2133 MHz LPDDR3

Mobile Devices: iPad 8th Gen, 32 GB, Space Gray + Apple Pencil 1st Gen

  • 4 months later...
  • 3 months later...
  • 3 weeks later...
  • 2 months later...
  • 4 months later...
  • 7 months later...
Posted

I too want to say a mega massive thank you so very much for your generous gift of this gradient palette converter this is truly awesome and will get lots and lots of usage Ta ❤️👌

  • 2 weeks later...
  • 2 weeks later...
Posted

LOL I never did get it to work  :( and forgot about it 
Must try again 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.