It is currently 18 Feb 2018, 01:17

GIMP Script Requestsscale bar and automate tasks (Showcase | Slideshow)

Post your Script Requests for GIMP here.
Forum rules
Request your Script(s) for GIMP here in this forum.
Provide details of steps performed in GIMP so that script can be written for the process and also give the request a name so that scripts can be named after.
Post Reply
No avatar

Forum Member
View: Showcase | Slideshow
Topic Posts: 1/2
Posts: 8
Joined: 01 Nov 2016, 16:11
Cash on hand: 50.00 GLP
Gimp Nation

scale bar and automate tasks

Post#1 by Morphéus2 » 01 Nov 2016, 16:36


First of all sorry for my poor english

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

initial photos: Image
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. Like that: Image

Here are all the step that I am currently doing most accurately describes:

1. Open the image
2. select the measurement tool
3. measuring 1cm (and retain equivalent px = [highlight=]A[/highlight])
4. go to Image -> Scale -> resolution Y = [highlight=]A[/highlight] , unit = pixel / cm, click on validate
5. rectangular selection tool -> choose the form
6. crop the image
7. Export the image in TIF format in the specified folder
8. I run the script "Map scale legend"
9. I enter width= [highlight=]A[/highlight] and step =[highlight=]A[/highlight]-> validate
10. I copy the image of the scale bar
11. I paste the image of the scale bar on the original picture
12. I export the image to the specified folder in JPEG format

Here is the scripte "Map scale lagend" I use on step 8:
the script-fu that I use to creat the scale bar:
finded here

Finaly the only steps that really need human intervetion is to indicate to the programme waht 1cm IRL is and define the area to crop. maybe the placement and colore of the scale bar, it must have a way to automatised everything else(I hope)

Thank in advance for everyone who try to help me! :thumbsup:
0 x

Registered members enjoy ads-free content
User avatar
View: Showcase | Slideshow
Topic Posts: 1/2
Posts: 2155
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,887.02 GLP
Bank: 51,356.25 GLP
Gender: Guy
Location: Victoria, BC
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1192
x 256

Post#2 by tim » 01 Nov 2016, 19:04

0 x

aka Tin

Post Reply

Last 20 Members Who Visited This Topic

  • Similar Topics
    Last post
• Featuring Members' Works (Image Attachments Only) •
1: gnerd
2: Pat625
3: tim
4: dinasset
5: Issabella
6: tim
7: Conbagui

Who is online

Users browsing this forum: No registered users and 1 guest