It is currently 13 Apr 2021, 17:20

• 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

Copy rotate script

GIMP or GIMP LEARN forum related Questions
GJL
Forum Member

Copy rotate script

Post#1 by GJL » 19 Dec 2020, 15:09


With the script below you can copy and rotate images.
But the copied images are not the quality if the original.
Perhaps the interpolation of the script is no set to NO HALO.
Can someone make a change of that script or is there a better script to rotate image with several degrees.

Thank you GJL
Attachments
script-fu-copy-rotate.scm #
(2.97 KiB) Downloaded 66 times
GIMP Learn rocks...

tim
GL Blogger

Post#2 by tim » 19 Dec 2020, 15:42


I don't see interpolation anywhere in the script.
aka Tin

         

rich2005
GIMP Guru

Post#3 by rich2005 » 19 Dec 2020, 16:26


If you change line 56 to

(gimp-drawable-transform-rotate-default sel-float degree FALSE xCenter yCenter TRUE TRUE) ;rotate

Then the script will use the default interpolation as set in Edit -> Preferences -> Tool options

Krikor
Forum Member

Post#4 by Krikor » 19 Dec 2020, 21:25


rich2005 wrote:
19 Dec 2020, 16:26
If you change line 56 to

(gimp-drawable-transform-rotate-default sel-float degree FALSE xCenter yCenter TRUE TRUE) ;rotate

Then the script will use the default interpolation as set in Edit -> Preferences -> Tool options
Hi rich2005,
But in the script in the attachment in the first post, line 56 is already like this:
(gimp-drawable-transform-rotate-default sel-float degree FALSE xCenter yCenter TRUE TRUE); rotate

Have they changed the attachment code after your comment?

Thx!
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston

rich2005
GIMP Guru

Post#5 by rich2005 » 19 Dec 2020, 21:59


Cant see that anything changed. The script has FALSE FALSE

Image

Should the second FALSE remain, probably, as it should be a number 0 or 1 or 2 and FALSE = 0 Did not seem to make much difference.

Krikor
Forum Member

Post#6 by Krikor » 20 Dec 2020, 00:44


rich2005 wrote:
19 Dec 2020, 21:59
Cant see that anything changed. The script has FALSE FALSE
You are absolutely right!
I only slept 2 hours last night and it seems that my attention and concentration are paying the price. :hammer_head:
Even now I had to look 3 times to see the difference.
My bad. :off_to_bed_purple:

I have the script-fu-copy-rotate-nLayer.scm and I was wondering if this was the same or not. But although they are different, they do practically the same thing.

The difference is that it merges everything into layers after rotating them, and the script-fu-copy-rotate-nLayer.scm arranges them in layers.

Thx rich2005.
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston

GJL
Forum Member

Post#7 by GJL » 26 Dec 2020, 14:53


I find a alternative Mura Meister Copy. It works beautiful.
:stars_5:
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 11 guests