LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-15-2017, 11:45 PM   #1
Taks
LQ Newbie
 
Registered: Jan 2016
Posts: 21

Rep: Reputation: Disabled
Question Gimp time-machine, I am looking for an older version of a scm (script file or plugin)


I only use and want to use GIMP. I have used it a lot, and one popular thing that people do, can't be done now as easily as it could be done 3 years ago.

To remove a person from a picture, for example, back in 2013 I'd just use gimp and select the person and then use 'smart remove selection' and the brilliant script would make me feel like a script kiddy which I'm not btw, and assemble a new background from the surrounding picture. It could be undone and redone as many times as you'd like each with a different result that you could choose from.

Today's tools look to me as if they were written by the competition. You can't remove uncle jack from the image because it creates the new background not from around uncle jack, but FROM uncle jack, so he looks like uncle jack from fellujia iraq or chernobyl. Basically it just mashes up uncle jack.

PLUS you don't get the proper random result anymore, so you cannot choose. It's like going to the art store where normally you can buy a random colored pencil for cheap, but now instead of giving you useful different colors each time you buy, you just get red. Fail and Fail.

I can only now find the current replacement for smart remove selection which is called heal selection, but just mangles selection instead.

I can't find older versions of the script which takes parts of the image outside the part you want to 'remove', and gives a 'random' output, so you can choose.

Does anyone have the older version running on their machine ? or in a backup somewhere ?
 
Old 01-16-2017, 12:06 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Hi Taks, I contribute to the GIMP project. Do you by any chance have a link to the script you're referring in the plugin registry?

Edit: is it the resynthesizer plugin?

http://www.scriptol.com/design/gimp/...ng-objects.php

http://www.logarithmic.net/pfh/resynthesizer

https://github.com/bootchk/resynthesizer

What version of Ubuntu are you using? I could test it.

Last edited by sag47; 01-16-2017 at 12:14 PM.
 
Old 01-16-2017, 03:39 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
look at resysenthizer plugin
http://www.logarithmic.net/pfh/resynthesizer

use the github code
https://github.com/bootchk/resynthesizer

it builds just fine and i have been using it for many years
 
Old 01-17-2017, 06:07 AM   #4
Taks
LQ Newbie
 
Registered: Jan 2016
Posts: 21

Original Poster
Rep: Reputation: Disabled
no solution yet.

ok, the new version that is installed here and "scrambles (the) selection" rather than "remove(s) selection" is found on the link you give under "download" heading on http://www.logarithmic.net/pfh/resynthesizer where it refers to gimp registry. I look at the link address and compare the registry number to browser history and find that that is where I got the current broken version.

The link you give http://www.scriptol.com/design/gimp/...ng-objects.php describes two different functions, the first is removing a selection which is badly named re-synthesize but then again, that IS closer to 'scramble selection' which is what is occurring here. The first part does look the part, but doesn't work here. The second part, map-resynth is not what I speak of, as it requires a photo without uncle bob as well as a photo with uncle bob to make a photo without uncle bob, which obvious defeats purpose defeats the purpose.

Using a current version of mint (17.2 cinnamon) and gimp 2.8.10

John, those two links are seriously greek to me. I mean, I'm a smart user, and can even program, but I prefer instructions a cat could understand. Not so much just to make it easy for me, which would be nice even though I don't mind all this research, but it should be easy for every artist, otherwise it's an obvious feature to send people over to the commercial competition.

Actually "getting rid of uncle bob rather than scrambling his face" as the objective is reminding me of the movie title 'kill bill'. Good movie,..
 
Old 01-17-2017, 11:41 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
did you look in the debian repos ?
Code:
apt-get install gimp-resynthesizer
or to see if it is there
Code:
apt search gimp
resynthesizer dose NOT scramble the image
it INPAINTS from the surrounding area , from a few px to the whole image

an example :

1)original
http://imgbox.com/EJbDHRdz
2)with object to remove
http://imgbox.com/9Jr21v9w
3)removed
http://imgbox.com/0Fk5aLCJ

Last edited by John VV; 01-17-2017 at 11:51 AM.
 
Old 01-17-2017, 03:09 PM   #6
Taks
LQ Newbie
 
Registered: Jan 2016
Posts: 21

Original Poster
Rep: Reputation: Disabled
This is what it does.

( Image credit: Author: Paolo Neo http://www.public-domain-photos.com/...ing-girl-1.htm )
Attached Thumbnails
Click image for larger version

Name:	aunt ellie feels queasy.jpg
Views:	12
Size:	190.9 KB
ID:	23994  

Last edited by Taks; 01-17-2017 at 03:11 PM.
 
Old 01-17-2017, 04:02 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
it looks like you are only selecting the " PATH" and not the area

do not use the path tool!!! use the "lasso " tool to draw around the object
or
paint it red or green or pink and select by color

PS. this is the same on linux as it is on MS Windows

orig with lasso selection
http://imgbox.com/M8PERG1b

filter/enhance/heal selected
http://imgbox.com/sAvzSfbO

inpainted
http://imgbox.com/QnqXKoiR

Last edited by John VV; 01-17-2017 at 04:07 PM.
 
Old 01-18-2017, 06:50 AM   #8
Taks
LQ Newbie
 
Registered: Jan 2016
Posts: 21

Original Poster
Rep: Reputation: Disabled
I can select by many means to get the same result. My favorite tool is often the fuzzy select tool, or was it once called smart select ? Also just tested ellipse and rectangle select, got the same result as previously attached. Went looking for the path tool, it's not something I was or do use normally. It's not the path tool. 'Lasso' I expect you mean free select tool. I do color select before many times, I use GIMP a LOT in the past, and can add subtract and intersect selections, store selections on other layers and so on. I don't think I've suddenly forgot how to use gimp, I am certain that the tool has been broken.

Considering how useful the tool is, it becomes an obvious target for the "competition" to send in their "volunteers" to "fix" or "upgrade" it. I just want to find the old version which works as I have used it thousands of times in the past. I want to do art again and my best most favorite tool has gone missing. !!!
 
Old 02-10-2017, 04:58 PM   #9
Taks
LQ Newbie
 
Registered: Jan 2016
Posts: 21

Original Poster
Rep: Reputation: Disabled
Is there anyone who has gimp on linux, recently installed, that has this working ?
 
Old 02-10-2017, 06:22 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
gimp2.8.18 builds from source just fine
and the DEVELOPMENT 2.9.4 also builds just fine
except it needs a newer version of libpng than is in the OpenSUSE 42.2 repos

but if you have not been building gimp from source for the last 17 years like i have
the question is WHY

For me it is habit and i also build the Gnome git source for gimp ,gegl,babl,mybrushes and libpng

now having both installed can be a bit tricky

but for a new user unless you WANT to learn to build from source there is no need

and breaking the gimp dependencies on deb's or rpm's can be a very annoying ISSUE .

Last edited by John VV; 02-10-2017 at 06:25 PM.
 
Old 02-11-2017, 01:31 PM   #11
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Use the lasso to select the area. And... Filters -> Enhance -> Heal Selection.

Seemed to work for me. Not sure if that's what you are looking for.
 
Old 02-13-2017, 04:35 AM   #12
Taks
LQ Newbie
 
Registered: Jan 2016
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
Use the lasso to select the area. And... Filters -> Enhance -> Heal Selection.

Seemed to work for me. Not sure if that's what you are looking for.
That is exactly what I do but it doesn't work at all. The only difference is it's called free select tool on my GIMP, is free select tool correct ? ( I tried it again before writing this reply, thats only diff I notice )

Quote:
Originally Posted by John VV View Post
but if you have not been building gimp from source for the last 17 years like i have
the question is WHY

For me it is habit and i also build the Gnome git source for gimp ,gegl,babl,mybrushes and libpng

but for a new user unless you WANT to learn to build from source there is no need

and breaking the gimp dependencies on deb's or rpm's can be a very annoying ISSUE .
I don't do builds anymore, I'm more into the arty side of myself and haven't done programming for quite some time (except arduino). With " apt-get install this " there hardly seems any need to build anything and certainly GIMP is SO mainstream and standard it should work. Yes, there are corporate interests that ruin things, Linux MINT has the Ubuntu people to thank for it's success because they made ubuntu suck all of a sudden. Isn't there a version of GIMP that works with MINT 17.2 out of the box that you can use to cut out uncle bob ?

So do you mean that because of dependencies the installed GIMP with MINT is broken when out of the box ? how can i tell if that is the issue ?
 
Old 02-13-2017, 05:44 AM   #13
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Quote:
Originally Posted by Taks View Post
That is exactly what I do but it doesn't work at all. The only difference is it's called free select tool on my GIMP, is free select tool correct ? ( I tried it again before writing this reply, thats only diff I notice )
The icon is a lasso, the mouse over text is free select tool. Works for me in debian jessie. Do you have "gimp-plugin-registry" installed? According to apt-file that's the one with the plugin-heal-selection.py file in it. Are you closing the loop? The last click is on the first dot when selecting the region.
 
Old 02-13-2017, 05:53 PM   #14
Taks
LQ Newbie
 
Registered: Jan 2016
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
The icon is a lasso, the mouse over text is free select tool. Works for me in debian jessie. Do you have "gimp-plugin-registry" installed? According to apt-file that's the one with the plugin-heal-selection.py file in it. Are you closing the loop? The last click is on the first dot when selecting the region.
well then I'm selecting precisely as directed, there is no doubt there. we do have different linux flavors, debian vs mint. what is the most straightforward definitive way to check if "gimp-plugin-registry" is installed? Yes, closing the loop perfectly.
 
Old 02-13-2017, 06:56 PM   #15
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the resysenthizer plugin is installed corectly ?
and the Python scripts are also installed ? right

Code:
usr/lib64/gimp/2.0/plug-ins/resynthesizer
usr/lib64/gimp/2.0/plug-ins/resynthesizer_gui
----
usr/share/gimp/2.0/scripts/plugin-heal-selection.py
usr/share/gimp/2.0/scripts/plugin-map-style.py      
usr/share/gimp/2.0/scripts/plugin-resynth-enlarge.py 
usr/share/gimp/2.0/scripts/plugin-resynth-sharpen.py
usr/share/gimp/2.0/scripts/plugin-heal-transparency.py
usr/share/gimp/2.0/scripts/plugin-render-texture.py 
usr/share/gimp/2.0/scripts/plugin-resynth-fill-pattern.py 
usr/share/gimp/2.0/scripts/plugin-uncrop.py

or in your users folders 
~/.gimp-2.8/scripts/
~/.gimp-2.8/plug-ins/
the code from the git site builds just fine

Last edited by John VV; 02-13-2017 at 06:58 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to match older machine to an older version of Linux fredb47 Linux - Distributions 10 10-27-2011 11:08 AM
building older version of kernel on newer version machine chakradhar.nannuri Linux - Newbie 4 01-25-2011 09:46 PM
sculpy.scm gimp plugin or how to make .obj to secondlife sculpty textures chickenlinux Linux - Software 2 04-20-2009 04:06 PM
Gimp redeye plugin not working in version 2.2.7 SharpyWarpy Linux - Software 2 10-22-2006 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration