Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: make shape background transparent
From: "Mike Sandy" <mjsandy@xxxxxxxxxxxxxx>
Date: Mon, 18 Feb 2008 19:10:03 -0000

Thanks Alain. All it needed was two small line changes and
the important thing was to have as a turtleshape a transparent
area almost equal in size to the the gaphics area.
Mike
----- Original Message ----- From: Alain Tougas
To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sent: Monday, February 18, 2008 3:10 PM
Subject: RE: make shape background transparent


Bingo!
I have a solution I think.

Use snapshape instead of snaparea. It works differently, but you will get transparency.

Definition:
Copies the page graphics (not the wallpaper) behind the turtle into the current shape of the turtle. You cannot use snapshape if the turtle has its original turtle shape. The turtle must be completely visible on the page. Snapshape resets the turtle's size to 40 (its original size) even if the size has been changed. If you want to copy the shape into an empty spot in the public Shapes Tab, set the turtle to this shape before using snapshape. Given that there is a turtle on the page, NOT wearing the default turtle shape. Draw a complex background and look at the public Shapes Tab for the effect of this command:
pd rt 11 fd 9999
setsh 5
snapshape
cg
pu fd 50
In the example above, the turtle is given the shape number 5, and it snaps the page graphics at its position, in an area that is equivalent to its size. In other words, if you execute "setsize 80" before snapping the area, you will get a shape definition of 80 x 80 pixels. You will definitely have to alter your MWPro program to use this technique, but you do gain transparency. If this new technique is not 100% suitable to "fix your issue", then don't try to fix the old approach, try to "use" the new feature in a creative way.
Good luck,

AT


-----Original Message-----
From: mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx [mailto:mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Tamara Weinstein
Sent: Monday, February 18, 2008 9:51 AM
To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: make shape background transparent






I am also very interested in this. It is one of the things that I find frustrating with MW EX. I wish that there was the equivalent of a "magic eraser" like there is in Adobe Photoshop to deal with this issue -- if I understand what you are talking about correctly?
thanks
Tamara Weinstein


Messages In This Digest: (4 Messages)
(08:40) MWForum (MicroWorlds Sharing and Support) Transparent background by Mike Sandy
(09:00) Re: Transparent background by LCSI
(11:28) Re: Transparent background by Mike Sandy
(11:57) Re: Transparent background by LCSI



Mike Sandy: <Transparent backgroundmjsandy@xxxxxxxxxxxxxx>
Sat Feb 16 08:40:40 2008

How can the background be made "transparent" in Microworlds Ex?
I need to use 'snaparea' around a shape with a transparent background.
Any attempt to convert the colour of a filled area to "transparent" fails
- the colour is change to 0!
Simple with MW Pro.
Mike


Back to top
Reply to sender | Reply to group | New message





LCSI: <Re: Transparent backgroundalain@xxxxxxx>
Sat Feb 16 09:00:12 2008

Hi!
In theory (it works for me), you can snapshape, to into the shape editor, and fill the white with the special transparent color (the long pink bar beneath the color palette).

The magic color is simply the RGB value 255 247 255. So if you use a paint program (photoshop...), you can create and use that color.

Maybe I don't understand exactly your intention here. Can you be more precise?

AT

Le 08-02-16 ` 10:40, Mike Sandy a icrit :





How can the background be made "transparent" in Microworlds Ex?
I need to use 'snaparea' around a shape with a transparent background.
Any attempt to convert the colour of a filled area to "transparent" fails
- the colour is change to 0!
Simple with MW Pro.
Mike








Back to top
Reply to sender | Reply to group | New message





Mike Sandy: <Re: Transparent backgroundmjsandy@xxxxxxxxxxxxxx>
Sat Feb 16 11:28:14 2008

Agreed, it is easy to do using the editor, but
my project, which was done years ago using Pro,
does not use the editor.
A small section of a tessallation is generated manually by stamping with
polygon shaped turtles, this small section is converted
into a turtle shape (by a procedure), which of course can then be used
to build up the remaining tessallation very rapidly.
With MW Pro, snaparea copies the shape
but any empty boundary around the shape is automatically
transparent irrespective of whether the bg is colour 0, so does
not obscure any graphics.
This is impossible with Ex. The surround stays white and obscures
the graphics.
Mike


----- Original Message ----- From: "LCSI" <alain@xxxxxxx>
To: <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, February 16, 2008 4:00 PM
Subject: Re: Transparent background






Hi!
In theory (it works for me), you can snapshape, to into the shape  editor,
and fill the white with the special transparent color (the  long pink bar
beneath the color palette).

The magic color is simply the RGB value 255 247 255. So if you use a
paint program (photoshop...), you can create and use that color.

Maybe I don't understand exactly your intention here. Can you be more
precise?

AT

Le 08-02-16 ` 10:40, Mike Sandy a icrit :



How can the background be made "transparent" in Microworlds Ex?
I need to use 'snaparea' around a shape with a transparent background.
Any attempt to convert the colour of a filled area to "transparent"
fails
- the colour is change to 0!
Simple with MW Pro.
Mike










Back to top
Reply to sender | Reply to group | New message





LCSI: <Re: Transparent backgroundalain@xxxxxxx>
Sat Feb 16 11:57:41 2008

Ho!
I see your point.
I will check on Monday with one of the programmers if he knows a "trick" to work around this. I remember debating about this issue for hours a few hears back with the programmers. I can only remember that they had "a canon size good reason" to do what they did with the bg and the alpha channel. I will get back to you on Monday.
Ciao,
AT

Le 08-02-16 ` 13:28, Mike Sandy a icrit :



Agreed, it is easy to do using the editor, but
my project, which was done years ago using Pro,
does not use the editor.
A small section of a tessallation is generated manually by stamping with
polygon shaped turtles, this small section is converted
into a turtle shape (by a procedure), which of course can then be used
to build up the remaining tessallation very rapidly.
With MW Pro, snaparea copies the shape
but any empty boundary around the shape is automatically
transparent irrespective of whether the bg is colour 0, so does
not obscure any graphics.
This is impossible with Ex. The surround stays white and obscures
the graphics.
Mike


----- Original Message ----- From: "LCSI" <alain@xxxxxxx>
To: <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, February 16, 2008 4:00 PM
Subject: Re: Transparent background




Hi!
In theory (it works for me), you can snapshape, to into the shape editor, and fill the white with the special transparent color (the long pink bar
beneath the color palette).

The magic color is simply the RGB value 255 247 255. So if you use a
paint program (photoshop...), you can create and use that color.

Maybe I don't understand exactly your intention here. Can you be more
precise?

AT

Le 08-02-16 ` 10:40, Mike Sandy a icrit :



How can the background be made "transparent" in Microworlds Ex?
I need to use 'snaparea' around a shape with a transparent background.
Any attempt to convert the colour of a filled area to "transparent"
fails
- the colour is change to 0!
Simple with MW Pro.
Mike















Back to top
Reply to sender | Reply to group | New message




MWForum mailing list

Messages: [ by date | by author | by thread ]
List Info | Attachments | New message | Unsubscribe from html digest
Subscribe to individual messages | Subscribe to text-only digest


  • Previous by thread: RE: make shape background transparent
  • Next by thread: make shape background transparent

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008