HowTo draw area transparent with mtPaint? (Solved)

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

HowTo draw area transparent with mtPaint? (Solved)

#1 Post by sunburnt »

I've got the Puppy paw icon, but it has a border & I need that transparent.
It can't be flood painted as the edge has bled outward.

So I need to draw a transparent circle around it & then finish the rest of the border.
Maybe it's a case of cropping or erasing the border instead?
Attachments
pup-paw_med.xpm
(33.61 KiB) Downloaded 621 times
Last edited by sunburnt on Fri 18 Aug 2006, 01:24, edited 1 time in total.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#2 Post by GuestToo »

an xpm is just a text file

you can open it as text, and edit the colours if you like

for example, most of the border for that pic seems to be character 1F, so if you change

"1F c #EEE9E6",

to

"1F c None",

it will make the border transparent
Attachments
pup-paw3.zip
transparent border
(10.67 KiB) Downloaded 323 times

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#3 Post by sunburnt »

Thanks GuestToo; I never even thought to look at it as text, that'll help alot!

Thanks for taking the time to do the job for me, that probably save me an hour.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#4 Post by sunburnt »

I tried editing the text in the file, but only messed it up.

What exactly did you do to the file to make the border transparent?
I looked at the line: 1F & it wasn't "None", but 01 was "None".

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#5 Post by GuestToo »

yeah, the border wasn't really all one colour, so i zoomed the pic larger and used the drawing tool to paint over the border with one colour ... the colour i picked from the list of colours on the left was probably colour #1 ... then i saved it, and edited the colour of the border, and changed it from the colour number to "None"

so i changed the picture slightly ... there's probably a way to save it with that colour already set to transparent, instead of editing the .xpm in a text editor

or you could use the Gimp

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#6 Post by gliezl »

Try this one. :-D

Ok. I zipped it.
Attachments
pup-paw.zip
(11.2 KiB) Downloaded 318 times
Last edited by gliezl on Wed 23 Aug 2006, 04:29, edited 1 time in total.
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#7 Post by sunburnt »

GuestToo; That makes sense, it's odd that you can't set a color transparent & draw, brush, or flood with it.
Cropping works well, but there's not many ways to do it that I can see.
To draw a circle around it & set the outside of the circle to be cropped would do the job (maybe).
I'll spend more time with it, I think Gimp is undoubtedly the best way to go, mtPaint is odd.

gliezl; Your pic came up the same way mine did, not quite right, I ment mine to show, but it didn't.
I think you'd have to zip or gzip it to make it downloadable, to show it, I guess it'd have to be png, etc.

wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

What is odd

#8 Post by wjaguar »

Odd are those users that waste time in forums instead of reading the docs. Setting transparent color is described in section 3.3.5 of mtPaint's manual; and if user believes that a program should convey its usage rules to him by telepathy instead, it's his own problem.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#9 Post by sunburnt »

Really odd is folks that think every one knows where everything is... ESPECIALLY in Linux.

Being as mtPaint has no HELP pull down menu, I looked in:

/usr/man
/usr/share/doc
/usr/share/man
/usr/share/applications
/root/my-applications
/root/my-documents/doc/mtpaint

Ah! There it is... & loading it in FireFox & doing a search provides the instructions.

Amazing how a little communication can upset.

Quote: "The best argument against democracy is a five minute conversation with the average voter."

wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

#10 Post by wjaguar »

sunburnt wrote:Being as mtPaint has no HELP pull down menu, I looked in:
Then I've to conclude that aliens somehow ate said menu just to make your life difficult. Because in my copy of mtPaint, the Help menu still sits just where it always did, and has shown absolutely no signs of becoming invisible.
And "Documentation" entry in that menu is of a particular relevance to this discussion. ;-)

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#11 Post by sunburnt »

Damn... your right! They did put it way over there!

Now I have another place to look...

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#12 Post by gliezl »

sunburnt wrote: gliezl; Your pic came up the same way mine did, not quite right, I ment mine to show, but it didn't.
I think you'd have to zip or gzip it to make it downloadable, to show it, I guess it'd have to be png, etc.
Try it again... :-D
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#13 Post by sunburnt »

Thanks gliezl; It's for the Puppy Login app. I wrote, a Puppy Paw Login that is.

I wrote the Puppy Login a little while back, but I haven't heard from anyone about it.
I wrote a Login Administration tool with MU doing most all of the work (I guess he wrote it).
If the Puppy Login works okay I'll add the Admin. tool to it & post it in Announcements.

marksouth2000
Posts: 622
Joined: Wed 05 Apr 2006, 20:43

Re: What is odd

#14 Post by marksouth2000 »

wjaguar wrote:... if user believes that a program should convey its usage rules to him by telepathy instead....
Thanks wjaguar, that would be cool, can it be in the next version of mtPaint please? :D

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#15 Post by sunburnt »

marksouth2000;

I think the Vulcan mind meld would be the proper theatrical method.

Post Reply