It is currently 05 Mar 2021, 03:07

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

GIMP/GL:  Tutorials | Tips | 🡆 Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Please, help! Exporting to .pdf

GIMP or GIMP LEARN forum related Questions
Cross_Stitcher
Forum Member

Please, help! Exporting to .pdf

Post#1 by Cross_Stitcher » 01 Dec 2020, 12:49


Hi guys!

My tiny knowledge of Python prompts me to look for help...
If one of the wise men or women from this forum could help me... :oops:

I am using the Tim's plugin to convert pics into cross-stitch patterns, and I like to export the final pic with the grid and symbols to a pdf format file. Then I print in a shop and I get an amazing pattern to enjoy! But I have a question... Could I change the plugin to get the pdf directly? For example, you execute the plugin with Gimp and suddenly you get the pic in .pdf format in your user folder.

Could I do that with Python??? Should I write a new plugin or insert a few lines in Tim's plugin? :?:
Some websites do that fast, but i would pleased if I could use my favourite program Gimp!

Thanks a lot!
GIMP Learn rocks...

tim
GL Blogger

Post#2 by tim » 01 Dec 2020, 13:10


After generating the pattern:
You can right click top most layer and choose "New from Visible" which will give you a new layer (with what you see is what you get)
Then choose this new layer and then run the Image into Layers plug-in
which will break that visible layer into many layers (on a new image) which can fit nicely for pdf export.
Then on the newly created image, export to .pdf and while exporting choose (bottom layers first) so that the .pdf shows in correct order.
You could add calls to my script to automate for you but it's not too much work doing manually and you have more control such as file name of pdf and what sizes you want to cut the huge pattern visible layer into (the default settings of Image into layers I find should work fine).
aka Tin

         

Cross_Stitcher
Forum Member

Post#3 by Cross_Stitcher » 03 Dec 2020, 13:20


Thanks a lot Tim!
I agree, your way is better and easier.
GIMP Learn rocks...


GIMP/GL:  Tutorials | Tips | 🡆 Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply New Topic
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 10 guests