It is currently Wed Apr 24, 2024 5:07 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 76 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 8:20 pm  (#21) 
Offline
GimpChat Member
User avatar

Joined: Oct 19, 2010
Posts: 376
Location: North Central Ohio, USA
Oregonian wrote:
Well I finally have it working after the third download, and arduous sacrifices to the computer gods with vigorous shaking of rattles, feathers and beads over braziers filled with burning incense. :hexer

Congrats! :lol
I thought I was going to have to do all that plus sacrifice some livestock while trying to figure out how to get an image to appear properly scaled inside each facet (just one image). The original image I was using was sized so that it filled the canvas; I had to slightly scale down the image, then increase the canvas size back to the facet dimension and rescale the layer (thus leaving my image with a border).

Very cool script!

_________________
Life Truth: #12
My cat is a worst typist than I am.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 8:47 pm  (#22) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
I really loooove this new script! It takes the place of several! It even includes different languages!

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 9:23 pm  (#23) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Oregonian, I am very glad to hear that you've got things working. I really appreciate everybody's help with this beta software. I realize how inconvenient it is to keep updating versions and how frustrating it can be when things don't work correctly. Many thanks to all.

I have released a new version of the Platonic Calendar script with some minor changes. I fixed a memory leak and corrected the behavior of the facet image so that it uses the bottom twelve layers if there are more than twelve -- before it would incorrectly use the top twelve layers with the twelfth one from the top being January (this was not a problem if there were twelve or fewer layers).

The script also makes sure to ignore any selection that might exist in the facet image. I am thinking that maybe Oregonian's difficulty was caused by her having a selection present and this was messing up things as I copied the layers over. Anyway, now this should not cause problems.

Mahvin, that is wonderful! I am more of an engineer than an artist so it is especially satisfying to me when I get to see the script used as I'd hoped, but lack the aesthetic mentality to accomplish myself. I would very much appreciate seeing a photo of your final meatspace result (perhaps with permission to post it on my wiki?).

Bob63, thank you for the information on paper sizes. I will try to figure out the correct dimensions to use this weekend. I will leave the script setting being specified in pixels, but will try to produce a table of various edge lengths and the corresponding paper size.

The script seems to be close to final. This weekend I will be tweaking the banner layout a bit (and perhaps add an option to place the month at the top and the year at the bottom), and I also want to change some of the internals so that the facet gets rendered at the same time as the month's calendar (this will eliminate a potential 1-pixel misalignment between the images and the folds). I also want to have the script create a selection from the alphas of all of the text layers. This will hopefully facilitate various schemes of providing contrast between the text and the images (such as outlining the text) or applying logo effects.

Here is a calendar I made using various historic GIMP splash screens. I used the alpha of the text layers as a selection mask to Value Invert the colors in the photos. The effect is not perfect, but it is better than having black text over a dark image. If I can figure out a good algorithm for ensuring high contrast for all backgrounds, I will probably add it as an option.

Image

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 9:38 pm  (#24) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
ok, I have gotten lost...is the final version ready yet. I want to put it on my mac but not until the script is all updated as I'm not sure how to remove stuff yet in order to replace with a newer script. I want to have one of those 12 sided ball calendars on my desk, lol.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 9:46 pm  (#25) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
I hope to have a finalized version sometime next week.

@Bob83, you might try using Gfig to render a pentogon that frames the part of the layer you wish to be used. You can then use the rendered Gfig layer to autocrop the image to the proper dimensions. This is best done on a separate image because Gfig doesn't recognize layer placement and/or dimensions (only the image).

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 9:51 pm  (#26) 
Offline
GimpChat Member
User avatar

Joined: Oct 19, 2010
Posts: 376
Location: North Central Ohio, USA
saulgoode wrote:
I hope to have a finalized version sometime next week.

@Bob83, you might try using Gfig to render a pentogon that frames the part of the layer you wish to be used. You can then use the rendered Gfig layer to autocrop the image to the proper dimensions. This has to be done on a separate image because Gfig doesn't recognize layer placement and/or dimensions (only the image).

Thanks for the heads-up on that, Saul. I was pretty certain there was an easier way than "Uhh, maybe like this." Sometimes experimenting works, other times it's like the joke "Let me show you how to do that - here, hold my beer."

_________________
Life Truth: #12
My cat is a worst typist than I am.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 11:05 pm  (#27) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
Quote:
Mahvin, that is wonderful! I am more of an engineer than an artist so it is especially satisfying to me when I get to see the script used as I'd hoped, but lack the aesthetic mentality to accomplish myself. I would very much appreciate seeing a photo of your final meatspace result (perhaps with permission to post it on my wiki?).


Sure, no problem. This was fun and the wife loved it and is taking it to work for her desk. Thank "YOU" for creating this gem of a script. This group on Gimpchat is like the A-team, "I love it when a plan comes together..."

Here's the photo:

Image

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 12:01 am  (#28) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Thanks, Mahvin. that is suh-weet. I've posted your photo on my wiki (along with a link to your weblog).

Another alternative to double-sided tape would be transparent book repair tape (also known as bookbinder’s tape). It is somewhat expensive, but it is nearly undetectable.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 12:08 am  (#29) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
Thanks for the suggestion. I was actually planning on gluing a card stock sheet to a thicker version of cardboard, and hopefully laminate (seal) it using a spray-on shellac.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 5:27 am  (#30) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
That is so nice mav... great job

_________________
Image


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 9:27 am  (#31) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Very cool, mahvin. I'm thinking if you put something small and heavy inside it would help stabilize it on a surface - a large stainless steel or brass nut; a rock.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 10:04 am  (#32) 
Offline
GimpChat Member
User avatar

Joined: Oct 19, 2010
Posts: 376
Location: North Central Ohio, USA
Here's a trick for non-picture backgrounds.
Open a new 400x400px image with white background and leave blank.
Render the calendar using this background.
When the calendar is complete, go into the layers dialog and turn off the background, all of the calendar text layers and the border layer. Only the calendar backgrounds should be visible.
Merge all visible layers. (If you want, you can turn this new layer off, turn on all the text layers and merge them also, which is what I did; I ended up with a border layer, a text layer, a calendar-background layer, and a page-background layer.)
Select the calendar-background layer.
Choose the Select-by color tool :colsel and click on the calendar background area.
Now you can use the Blend tool to place a gradient in the calendars, or fill with a pattern!


Attachments:
Rainbow-dodec-cal-2011.png
Rainbow-dodec-cal-2011.png [ 1.81 MiB | Viewed 3156 times ]

_________________
Life Truth: #12
My cat is a worst typist than I am.
Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 10:56 am  (#33) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
very nice Bob....

_________________
Image


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 11:17 am  (#34) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
@Bob: good thinking there on the gradient. Looks great.

I opened a pattern as image and used it in this one.

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 12:11 pm  (#35) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
I love all the different ways we can enhance the look of this platonic calendar. My wife took the one I made to work and got all sorts of comments on it. So, I'll be making more, for sure. Only this time, (this is a good suggestion for anyone who decides to make a few of these) instead of cutting out the spaces in between each pentagon, cut it down the middle instead and fold them back as flaps, so it's much easier to join the two pentagons together. Cutting the entire area out makes for some tedious aligning of sides.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 12:50 pm  (#36) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
that is really cool "O".... love the bubbles.....

_________________
Image


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 1:28 pm  (#37) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Thanks Molly.

Here's a photo of my calendar done on white card stock. I used a dead ballpoint pen to trace along the fold lines (yeah, try and find one when you WANT one), they fold better that way.

I used scotch tape on mine. It was done just to see how it turned out.

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 2:13 pm  (#38) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Very nice!

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 9:29 pm  (#39) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
Is there a calendar script that gives these shapes??? Or am I missing something??

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Fri Jan 14, 2011 10:42 pm  (#40) 
Offline
GimpChat Member
User avatar

Joined: Oct 19, 2010
Posts: 376
Location: North Central Ohio, USA
PhotoMaster wrote:
Is there a calendar script that gives these shapes??? Or am I missing something??

Saulgoode's Chiselapp page.
The script will build the flattened dodecahedron which when printed, cut and folded makes the 3D calendar. It can use 1 - 12 layers of images to apply background images to each calendar panel, or it is possible to combine blank backgrounds to fill with patterns, gradients or whatever. Read back through this thread for all sorts of tips and enjoy! :)

_________________
Life Truth: #12
My cat is a worst typist than I am.


Top
Post new topic Reply to topic  [ 76 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Calendar month and year plugin (script .scm) updated - modified

12

No new posts Attachment(s) Looking for Script Coder to make Script of my VHS effect

2

No new posts Attachment(s) A liitle Start Help with a Script-Fu Script

3

No new posts Attachment(s) Cannot run test script-fu script via console

7

No new posts Attachment(s) Script-fu

6



* Login  



Powered by phpBB3 © phpBB Group