[Gimp-user] psd layers to individual images

2020-02-01 Thread anon125
>Check out https://github.com/khalim19/gimp-plugin-export-layers
>
>Alex

GIMP sure is capable!
thanks guys

-- 
anon125 (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] crop to content

2020-02-01 Thread rich404
>Late last night I got the latest version of the script suggested by
>Rich and
>tried it on a dozen color photo scans with borders. Each was left with
>thin
>"white" strips along the sides and top and bottom, mostly thicker at
>one end
>than the other, indicating there was still a little skew left in the
>images
>(though the script does a deskew). I'll need to vary the parameters,
>and also
>try the original version of the script that Rich used.
>

@geop

The divide scanned images script can use a separate compiled plugin deskew.exe
but no guarantee it will work correctly. Even older than the script. I have
tried it in Win10 and it does work (I usually use linux)

However going by the sample image, that is not the problem, the actual picture
area is not rectangular, if the side is vertical the top is not horizontal. Your
scanner has already made a good job of de-skewing. I think you already know
this.

If you can get it down to a minimum border, then any excess can be trimmed. 
Manually it is:  Select All - Stroke Selection - Zealous Crop - Select None

I have knocked up a small python script (trim_it.py)  to apply that procedure.
It trims off about 8 pixels from the edges. Edit the script for more / less.
Find bottom of the tools menu.

If you need to batch,  then it is either run in command line, or use in the only
up-to-date GUI Gimp batch plugin BIMP see:
https://alessandrofrancesconi.it/projects/bimp/

Attached the two plugins zipped. 

Unzip and put both  in C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plug-ins

Attachments:
* https://www.gimpusers.com/system/attachments/1355/original/trim.zip

-- 
rich404 (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] crop to content

2020-02-01 Thread geop
Figured out my issues with fuzzy select and now know how to use it. Now after
lots of experimenting just with that sample greyscale photo, I conclude it does
NOT work well for my purpose. There is apparently too much variation in the
border area, so a low threshold does not get all of the border, and a higher
threshold eats into the image.

With the color picker, I found tone ranges in the border from 238 to 255. I
tried to pick midrange "starting pixels" for the fuzzy select, but one can't
really know if you clicked on exactly the right one.

The script still seems to have the most potential.

-- 
geop (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] psd layers to individual images

2020-02-01 Thread Alexandre Prokoudine via gimp-user-list
On Sat, Feb 1, 2020 at 6:58 AM anon125  wrote:
>
> How do I do that with gimp?

Check out https://github.com/khalim19/gimp-plugin-export-layers

Alex
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] crop to content

2020-02-01 Thread geop
Late last night I got the latest version of the script suggested by Rich and
tried it on a dozen color photo scans with borders. Each was left with thin
"white" strips along the sides and top and bottom, mostly thicker at one end
than the other, indicating there was still a little skew left in the images
(though the script does a deskew). I'll need to vary the parameters, and also
try the original version of the script that Rich used.

I also tried the fuzzy select idea. With its default parameter (15, I think),
and using the greyscale photo I sent earlier, this selected a lot of sky area.
However, I did not get much further because I'm not familiar enough with Gimp. I
did open the fuzzy settings and lower the value, but nothing changed, so it was
unclear to me that was really the result, or that I had failed to completely
confirm the new parameter somehow. But now I'm in a situation where I can NOT
get to the fuzzy select settings any more, even on a Gimp restart! Arggh.

-- 
geop (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] psd layers to individual images

2020-02-01 Thread Shlomi Fish
Hi anon125,

On Sat, 01 Feb 2020 04:58:06 +0100
anon125  wrote:

> How do I do that with gimp?
> Thanks all
> 
> We have pse5 software and have layers with images that we need to efficiently
> make into jpg images.
> Hundreds of them
> 

it should be doable using gimp-python (
https://duckduckgo.com/?q=gimp+python=v140-1=web ) assuming gimp can
indeed load the .psd s properly - see
https://www.shlomifish.org/humour/fortunes/show.cgi?id=PSD-is-not-my-favourite-file-format

If you wish, you can send some sample PSDs to my shlo...@gmail.com address and
I will write a proof of concept. Other programmers can do it as well.

-- 

Shlomi Fish   https://www.shlomifish.org/
https://www.shlomifish.org/humour/bits/facts/Taylor-Swift/

It is a good idea to stop worrying about problems (or “problems” in quotes)
that cannot be fixed.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list