It is currently Sat Jul 06, 2024 7:13 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: scale bar and automate tasks
PostPosted: Mon Oct 31, 2016 1:29 pm  (#1) 
Offline
GimpChat Member

Joined: Oct 31, 2016
Posts: 6
Hello,


First of all sorry for my poor english

I come to you with many questions.

I work for an archeology professor who charged me a job when he learned that I knew used a little illustration software.
He provides several thousands (!) Of pictures of archaeological pieces placed next to a ruler. The photos are in TIF format.



My task: to each photos, producing two images:
the first: TIF, crop to contain only the room, or 1cm in real life is the éhelle of TIF
the second: the same as the first but with JPEG and a small scale 1cm graduation

So the steps are:
1. Open Photos
2. measure the number of pixels that represents 1cm
3. redefine the image scale
4. crop the Image
5. export to TIF
6. add the scale bar
7. export to JPEG

Is it true that there is no equivalent on GIMP to the Photoshop's script function, where the steps are recorded?

I think the creation of a script-fu that automate all the steps except 2 and 4 of cm should be achievable within hours by a pro or someone accustomed. There he has a place where I could hire such a person? Or alternatively, how long would it take me to learn to write such a script?


For 6. I have found on the net a script that allows me to create a scaling rule, the problem is that the dimension to enter are in pixels, are there a simple way to transform the unit in cm?
(sorry for now I'm not allowed to put links)

:tyspin


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: scale bar and automate tasks
PostPosted: Mon Oct 31, 2016 1:35 pm  (#2) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
If you can describe those steps in GIMP,
like if you can manually do it in GIMP,
I can try to write a script for you.

_________________
TinT


Top
 Post subject: Re: scale bar and automate tasks
PostPosted: Mon Oct 31, 2016 3:12 pm  (#3) 
Offline
GimpChat Member

Joined: Oct 31, 2016
Posts: 6
thank you, I've PM you


Top
 Post subject: Re: scale bar and automate tasks
PostPosted: Tue Nov 01, 2016 2:51 pm  (#4) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
I posted the script for this request --> here

_________________
TinT


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) how to automate the procedure?

14

No new posts Attachment(s) Automate merge of multiple files horizontally

3

No new posts Can ScriptFu or anything in Gimp automate the creation of layer groups

7

No new posts Attachment(s) Scale image

6

No new posts Attachment(s) Cannot seem to scale the print size

4



* Login  



Powered by phpBB3 © phpBB Group