Post Reply 

Coordinates report script, exists ? (for graphics apps development) (Kutt/Kwiskher)

Jun 15, 2014, 12:16
Post: #1
Coordinates report script, exists ? (for graphics apps development) (Kutt/Kwiskher)
Hi everybody, first of all i want to say thanks to all the developers that made this wonderful program and all the people that helps the others in this forum.

I'm starting to learning Corona sdk to develop applications, i'm a beginner in programation and i'm disgraciately not able to use the Script fu console, also if i will like to learn it when i'll have time.

My question is if somebody know the existance of a script that exports in a text file a report with the coordinates of all the layers, like KUTT.

for example i would open some png files and use them like layers; then i would create a txt or html file with the coordinates of the corners of all the layers (maybe with the cente xy also!) es:
the witdh and the height of the layers can be calculated after with delt...a or maybe can be included in the report!

"dir/image1.png" , x1,y1,x2,y2,x3,y3,x4,y4, xC,yC, W , H (alpha?)
---
"dir/image2.png" , x1,y1,x2,y2,x3,y3,x4,y4, xC,yC, W , H (alpha?)
---
"dir/image3.png" , x1,y1,x2,y2,x3,y3,x4,y4, xC,yC, W , H (alpha?)

ecc.. Does somebody understand?
i thank you in advance
gigi
Find all posts by this user
Quote this message in a reply
Jun 16, 2014, 12:27
Post: #2
RE: Coordinates report script, exists ? (for graphics apps development) (Kutt/Kwiskher)
Hi thank you for repling! I'm sorry because i don't have a good english, about the SDK i understand that you must know what are you doing. I understood the meaning of an iterator some days ago and i was too happy, also for the things (few for now) that i can do with it. It's like if i'm starting with an industrial machine instead of the bradhawl... But i was thinking that was better to start with a simple language and then analyze for what it means. Maybe you are thinking "its like to read a book from the end"... But i like this approach. I decided to follow a base-course and now i'm in the shit just cause everybody use photoshp, and i paid for the course. I was thinking there was a similar script for gimp cause me too i was thinking that it should be simple to make, and usefull! If anybody could help me i'll be very happy!
Find all posts by this user
Quote this message in a reply
Jun 16, 2014, 15:16
Post: #3
RE: Coordinates report script, exists ? (for graphics apps development) (Kutt/Kwiskher)
Oooook......... I dont know nothing about python.... I cant create one script in less than one week...
In fact i dont want to create a image with the script, if this is the scope of gimp-python; i think should be "easy" to read the offset, weight and height of all the layers... But i dont have any idea to how to read them with python language... Also after i'm lost. I should tell to create a text file with the parameters... i'm not able.. let fall.. I think i'll try to use photosht in trial mode... And when i will learn a little of python i'll try to do this script... Ciao Ofnuts thank you for your suggestions
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Run script on action rchav 2 550 Aug 13, 2018 14:57
Last Post: rchav
  Script Fu Errors Gimp 2.10.4 lightsaber jd3481 1 399 Aug 2, 2018 05:13
Last Post: paynekj
  Script-fu script to conversion pdf to image 4ever 12 8,731 Jul 17, 2018 16:01
Last Post: paynekj
  Problems with a bat script :( ThaUnknown_ 1 482 Mar 26, 2018 21:14
Last Post: paynekj
  Script-fu ordered file list vnicent 1 300 Mar 19, 2018 17:33
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS