Problem with patterns
This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
Problem with patterns | Jim Lynch | 31 Oct 12:14 |
b14e81f00510311905y2ec3d824... | 07 Oct 20:17 | |
Problem with patterns | michael chang | 01 Nov 04:06 |
Problem with patterns | Jim Lynch | 01 Nov 14:06 |
Problem with patterns | Carol Spears | 01 Nov 16:25 |
Problem with patterns | Jim Lynch | 01 Nov 21:27 |
Problem with patterns
I'm trying to add a pattern and it's just not doing what I think it should. I loaded a small image, 135x94 into gimp and saved it as a pattern (.pat). I then moved it to the /usr/share/gimp/2.0/pattern directory. I quit gimp and then brought it back up. No pattern. I decided maybe the patterns were coming from somewhere else, so I did a locate on corkboard.pat. Only one of them. OK, so I temporarily moved one of the .pat files to another location, refreshed gimp again and it was gone. Ah, so it is reading from that directory. Maybe there is something about my image that gimp doesn't like, so I copied pine.pat to a new name, 3dwood.pat. I refreshed gimp again, closing and restarting. Nope, no 3dwood.
File attributes are just fine, all of them at 644. Owner is root.root on all the files, old and new.
Can anyone tell me what's going on?
Running on a Debian Sarge release distro with gimp 2.2.
Thanks, Jim.
Problem with patterns
On 10/31/05, Jim Lynch wrote:
I'm trying to add a pattern and it's just not doing what I think it should. I loaded a small image, 135x94 into gimp and saved it as a pattern (.pat). I then moved it to the /usr/share/gimp/2.0/pattern directory. I quit gimp and then brought it back up. No pattern. I decided maybe the patterns were coming from somewhere else, so I did a locate on corkboard.pat. Only one of them. OK, so I temporarily moved one of the .pat files to another location, refreshed gimp again and it was gone. Ah, so it is reading from that directory. Maybe there is something about my image that gimp doesn't like, so I copied pine.pat to a new name, 3dwood.pat. I refreshed gimp again, closing and restarting. Nope, no 3dwood.
File attributes are just fine, all of them at 644. Owner is root.root on all the files, old and new.
Can anyone tell me what's going on?
Running on a Debian Sarge release distro with gimp 2.2.
In "File|Preferences", what directories are listed as resource sources for patterns?
IIRC, you can also put the pattern in ~/.gimp-2.2/patterns if you are doing a per-user install (as opposed to system-wide).
Also, does the pattern(s) folder have an -s or no? I forget what the actual one does have, although IIRC you can set any one you want, in theory. I could be wrong though, I'm a bit rusty.
--
~Mike
- Just my two cents
- No man is an island, and no man is unable.
Problem with patterns
/usr/share/gimp/2.0/patterns
/home/jwl/.gimp-2.2/patterns
The former is where I'm trying to add the pattern.
No -s on this directory.
drwxr-xr-x 2 root root 4096 2005-11-01 07:57 .
I also attempted to add the file to the .gimp... directory but it still isn't showing up. I can open the file in gimp and it seems to show up just fine. I compared it to a good pattern and except for the dimensions it's equivalent as far as I can see.
When I'm in the pattern screen, and click on a pattern, there is a short description of the pattern displayed, but I can't find any way to see that description when I'm editing a pattern in gimp. Is it possible my converted jpeg image doesn't have that dispaly info in it and that's why it isn't showing up?
Thanks,
Jim.
On 10/31/05, michael chang wrote:
On 10/31/05, Jim Lynch wrote:
I'm trying to add a pattern and it's just not doing what I think it
should.
I loaded a small image, 135x94 into gimp and saved it as a pattern
(.pat).
I then moved it to the /usr/share/gimp/2.0/pattern directory. I quit
gimp
and then brought it back up. No pattern. I decided maybe the patterns
were
coming from somewhere else, so I did a locate on corkboard.pat. Only one
of
them. OK, so I temporarily moved one of the .pat files to another
location,
refreshed gimp again and it was gone. Ah, so it is reading from that directory. Maybe there is something about my image that gimp doesn't
like,
so I copied pine.pat to a new name, 3dwood.pat. I refreshed gimp again, closing and restarting. Nope, no 3dwood.
File attributes are just fine, all of them at 644. Owner is root.root on all the files, old and new.
Can anyone tell me what's going on?
Running on a Debian Sarge release distro with gimp 2.2.
In "File|Preferences", what directories are listed as resource sources for patterns?
IIRC, you can also put the pattern in ~/.gimp-2.2/patterns if you are doing a per-user install (as opposed to system-wide).
Also, does the pattern(s) folder have an -s or no? I forget what the actual one does have, although IIRC you can set any one you want, in theory. I could be wrong though, I'm a bit rusty.
-- ~Mike
- Just my two cents
- No man is an island, and no man is unable.
Problem with patterns
On Tue, Nov 01, 2005 at 08:06:26AM -0500, Jim Lynch wrote:
When I'm in the pattern screen, and click on a pattern, there is a short description of the pattern displayed, but I can't find any way to see that description when I'm editing a pattern in gimp. Is it possible my converted jpeg image doesn't have that dispaly info in it and that's why it isn't showing up?
when you saved it as a .pat did it give you the GIMP pattern save dialog? if you just changed the name from .jpg to .pat i don't think it would work.
try saving the same file as a png there. actually, maybe you should not run gimp as root at all. if you want the file to be used by everyone on your computer (if there is only one, it should be sufficient to save in your user directory) it is easier and better to move the file as root from the commandline. especially after the image is working in a user directory.
i give that second advice (about not running things as root too often) not from experience but from the advice that the people writing the software gave me years ago. i cannot imagine that things are "safer" now. the graphical interface on any computer or operating system is a weird and perhaps suspicious layer in which the rules are not so direct.
the gimp patterns are (if i remember correctly) a special case of png. and since gimp2, png can be viewed as a pattern in that dialog as well.
carol
Problem with patterns
I found it. The images are ordered alphabetically by the comment. I didnt realize I had left the default comment of "Gimp pattern" in the image when I saved it.
Sorry for the confusion.
Jim.
On 11/1/05, Carol Spears wrote:
On Tue, Nov 01, 2005 at 08:06:26AM -0500, Jim Lynch wrote:
When I'm in the pattern screen, and click on a pattern, there is a short
description of the pattern displayed, but I can't find any way to see
that
description when I'm editing a pattern in gimp. Is it possible my
converted
jpeg image doesn't have that dispaly info in it and that's why it isn't showing up?
when you saved it as a .pat did it give you the GIMP pattern save dialog? if you just changed the name from .jpg to .pat i don't think it would work.
try saving the same file as a png there. actually, maybe you should not run gimp as root at all. if you want the file to be used by everyone on your computer (if there is only one, it should be sufficient to save in your user directory) it is easier and better to move the file as root from the commandline. especially after the image is working in a user directory.
i give that second advice (about not running things as root too often) not from experience but from the advice that the people writing the software gave me years ago. i cannot imagine that things are "safer" now. the graphical interface on any computer or operating system is a weird and perhaps suspicious layer in which the rules are not so direct.
the gimp patterns are (if i remember correctly) a special case of png. and since gimp2, png can be viewed as a pattern in that dialog as well.
carol