It is currently Fri Mar 29, 2024 9:56 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: How do you convert PS curves for GIMP?
PostPosted: Tue Oct 16, 2012 8:21 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
I have some .acv PS curves that I would like to convert to GIMP curves or at least have them as text files.

There are obviously Perl and Python scripts for that https://github.com/suapapa/suapapa_snip ... cv2gimp.py
but it seems that it has to be run from the command line http://www.big-bubbles.fluff.org/blogs/ ... -the-gimp/

I have no idea how to run this script in Windows and I currently don't have any Linux-based OS on my VirtualBox machine to run this script from the command line.

I'd love to know how you guys do it.

Thank you in advance.


K1TE

P.S. I have converted PS curves, downloaded them from the web, but want to do the conversion myself.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: How do you convert PS curves for GIMP?
PostPosted: Tue Oct 16, 2012 9:47 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
Here are some GIMP curves available for download http://www.photoshopblur.com/21-gimp-cu ... ve-missed/

For those unfamiliar with how to use curve presets:
1. Download curves and unpack in ~.gimp-2.x/curves folder.
2. Open image in GIMP. In Colors>Curves click on a button with small arrow on the right side, then Import_Settings_from_File.
It will take you to the curves folder, where you just copied your GIMP curve files.
3. Choose curve file, click Open
4. You're going to be able to see immediate changes to you image.
5. If you like curve preset, you can add it to your Faves (next to Import button)

Here is a collection of 52 GIMP curves that I have, including converted Photoshop curves.
Attachment:
Curves.7z [51.85 KiB]
Downloaded 623 times


You can also play with curves in G'MIC which has a good choice of controls and even save a preset to the Faves.


Cheers

K1TE


Top
 Post subject: Re: How do you convert PS curves for GIMP?
PostPosted: Wed Oct 17, 2012 1:55 am  (#3) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4726
K1TesseraEna wrote:
I have some .acv PS curves that I would like to convert to GIMP curves or at least have them as text files.

There are obviously Perl and Python scripts for that https://github.com/suapapa/suapapa_snip ... cv2gimp.py
but it seems that it has to be run from the command line http://www.big-bubbles.fluff.org/blogs/ ... -the-gimp/

I have no idea how to run this script in Windows and I currently don't have any Linux-based OS on my VirtualBox machine to run this script from the command line.

I'd love to know how you guys do it.

Thank you in advance.


K1TE

P.S. I have converted PS curves, downloaded them from the web, but want to do the conversion myself.

If you have Gimp 2.8 then you have Python installed. Download the .py, start a command prompt, and issue
python  acv2gimp.py

_________________
Image


Top
 Post subject: Re: How do you convert PS curves for GIMP?
PostPosted: Sat Mar 23, 2013 5:43 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
ofnuts wrote:
If you have Gimp 2.8 then you have Python installed. Download the .py, start a command prompt, and issue
python  acv2gimp.py



I tried that already. Running script from the command line returns this.

Image

Any idea how to make it work on Windows?
Wonder if it's working on Linux.


Top
 Post subject: Re: How do you convert PS curves for GIMP?
PostPosted: Sat Mar 23, 2013 6:07 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
This is what I get with Linux..."python: can't open file 'acv2gimp.py': [Errno 2] No such file or directory"

_________________
Image


Top
 Post subject: Re: How do you convert PS curves for GIMP?
PostPosted: Sat Mar 23, 2013 6:33 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
molly wrote:
This is what I get with Linux..."python: can't open file 'acv2gimp.py': [Errno 2] No such file or directory"


Molly, you need to download PS curves from the link in my previous post, unzip it and run the command from the command line like this
python2 acv2gimp.py mycurve.acv -o ~/.gimp-2.8/curves/mycurve.crv


...depending what directory your files are in
I would really appreciate if you try it one more time, molly


Top
 Post subject: Re: How do you convert PS curves for GIMP?
PostPosted: Sun Mar 24, 2013 3:37 am  (#7) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
K1TesseraEna wrote:
ofnuts wrote:
If you have Gimp 2.8 then you have Python installed. Download the .py, start a command prompt, and issue
python  acv2gimp.py



I tried that already. Running script from the command line returns this.

Image

Any idea how to make it work on Windows?
Wonder if it's working on Linux.


You just need to know where the python executable file is.

As I've got Python installed separately from GIMP, for me the command line would be
"c:\Python25\python.exe" mycurve.acv -o mycurve.crv


It looks like the Python exe installed with GIMP 2.8 should work:
"C:\Program Files\GIMP 2.8.2\Python\python.exe" mycurve.acv -o mycurve.crv
and the double-quotes are necessary because the file path has spaces in it.

Kevin


Top
 Post subject: Re: How do you convert PS curves for GIMP?
PostPosted: Sun Mar 24, 2013 4:48 am  (#8) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Is this what I type into my terminal?
/home/.gimp-2.8.4/curves/Python/python/ mycurve.acv -o mycurve.crv

_________________
Image


Top
 Post subject: Re: How do you convert PS curves for GIMP?
PostPosted: Sun Mar 24, 2013 4:55 am  (#9) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
K1TesseraEna wrote:
Here are some GIMP curves available for download http://www.photoshopblur.com/21-gimp-cu ... ve-missed/

For those unfamiliar with how to use curve presets:
1. Download curves and unpack in ~.gimp-2.x/curves folder.
2. Open image in GIMP. In Colors>Curves click on a button with small arrow on the right side, then Import_Settings_from_File.
It will take you to the curves folder, where you just copied your GIMP curve files.
3. Choose curve file, click Open
4. You're going to be able to see immediate changes to you image.
5. If you like curve preset, you can add it to your Faves (next to Import button)

Here is a collection of 52 GIMP curves that I have, including converted Photoshop curves.
Attachment:
Curves.7z


You can also play with curves in G'MIC which has a good choice of controls and even save a preset to the Faves.


Cheers

K1TE

Kit...I downloaded your curves and exported them to my curves folder. When I tried a few of them, I saved 3 and they saved okay but I also got files numbers above each name. Should those be there?

Image

_________________
Image


Top
 Post subject: Re: How do you convert PS curves for GIMP?
PostPosted: Sun Mar 24, 2013 9:39 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
molly wrote:
When I tried a few of them, I saved 3 and they saved okay but I also got files numbers above each name. Should those be there?


Thanks, molly! Yeah, this is a normal thing, GIMP remembers the last curve presets you've used.


Top
 Post subject: Re: How do you convert PS curves for GIMP?
PostPosted: Sun Mar 24, 2013 10:32 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
paynekj wrote:
K1TesseraEna wrote:
ofnuts wrote:
If you have Gimp 2.8 then you have Python installed. Download the .py, start a command prompt, and issue
python  acv2gimp.py



I tried that already. Running script from the command line returns this.

Image

Any idea how to make it work on Windows?
Wonder if it's working on Linux.


You just need to know where the python executable file is.

As I've got Python installed separately from GIMP, for me the command line would be
"c:\Python25\python.exe" mycurve.acv -o mycurve.crv


It looks like the Python exe installed with GIMP 2.8 should work:
"C:\Program Files\GIMP 2.8.2\Python\python.exe" mycurve.acv -o mycurve.crv
and the double-quotes are necessary because the file path has spaces in it.

Kevin


Thanks, Kevin. That makes sense. The script instructions does not mention that so I assumed it will scan my program directory for Python executable file. Gonna try it later.


Top
 Post subject: Re: How do you convert PS curves for GIMP?
PostPosted: Sun Mar 24, 2013 5:03 pm  (#12) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
K1TesseraEna wrote:
Thanks, Kevin. That makes sense. The script instructions does not mention that so I assumed it will scan my program directory for Python executable file. Gonna try it later.


Windows/DOS will scan the directories listed in the Path environment variable. Type set Path in a command prompt to display the current value of Path. You could add the Python exe directory to the Path variable, but I think you're better off being explicit about which python exe you want to use- maybe create a .bat batch file to go with the acv2gimp.py

Kevin


Top
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) convert a gbr bristles to abr

2

No new posts Attachment(s) TypeError: could not convert to GimpRGB (Solved)

5

No new posts Convert a selection into an array of coordinates/points

2

No new posts Custom curves files

3

No new posts Attachment(s) Gimp Gap Curves Issue

13



* Login  



Powered by phpBB3 © phpBB Group