List Info

Thread: Transparant pictures




Transparant pictures
country flaguser name
Sweden
2007-05-06 04:30:20

Hi,
I parently work on PGS 4.1.2.
I have an A4 document with a photografic picture covering the ful page and I
wnat to have a transparant .gif-logo on top of that.
The logo is transparant but not when I've mounted it on the page.
If I apply a mask, parts of the .gif becomes transparant, but not all of it.

Any hints?

Regards
Bo

--
Bo Arnholm, Södermalmsgatan 13, S-431 69 Mölndal, Sweden
E-Mail: bosse%40arnholm.se">bossearnholm.se, URL: http://bosse.arnholm.se
I am webmaster for the Rover Club of Sweden: http://www.roverklubben.se
Jag är webbmaster för Sveriges bästa kanal-sajt: http://kanaler.arnholm.nu

__._,_.___
.

__,_._,___
Re: Transparant pictures
country flaguser name
Germany
2007-05-06 07:38:13

Bosse Arnholm wrote on 06.05.2007
about <[PageStreamSupport] Transparant pictures&gt; the following:

> Hi,
> I parently work on PGS 4.1.2.
&gt; I have an A4 document with a photografic picture covering the ful page
>; and I wnat to have a transparant .gif-logo on top of that.
&gt; The logo is transparant but not when I've mounted it on the page.
&gt; If I apply a mask, parts of the .gif becomes transparant, but not all
> of it.
>
> Any hints?

afaik pagestream does not support transparency in pictures. the only way to
go is to use a mask. you can create the mask on your own by using the
following approach, which usually works quite well:

- create a b/w version of the logo. the transparens parts should be black
- load that b/w version into bme and convert it to a vector drawing
- use this vector drawing as mask in pagestream for your logo

i often do it that way.

byebye...
--
Michael Merkel (MiMeIRC)
Michael.Merkel%40gmx.net">Michael.Merkelgmx.net
http://www.mirime.de/Michael
Member of http://www.amiga-freunde.de

__._,_.___
.

__,_._,___
Re: Transparant pictures
country flaguser name
United States
2007-05-06 07:40:38

On Sunday 06 May 2007, Bosse Arnholm wrote:
&gt; Hi,
> I parently work on PGS 4.1.2.
&gt; I have an A4 document with a photografic picture covering the ful page and
> I wnat to have a transparant .gif-logo on top of that.
&gt; The logo is transparant but not when I've mounted it on the page.
&gt; If I apply a mask, parts of the .gif becomes transparant, but not all of
> it.

It has been a while since I've worked with gif files in PgS so I could be
wrong, but I don't believe PgS uses the transparency information in a gif.

On to masking:

Did you use the PgS function to generate a mask? If so, here's a description
of how that works: it picks a color as the background color. I *think* this
is the color of the top-left corner pixel, but I'm not certain. For each
pixel row PgS reads from the left (and the right) until it finds a
non-background color pixel -- that marks the edge of the mask for that pixel
row. Although the mask can have a funky shape it will be continuous -- that
means there cannot be any holes so if you have a picture of a donut against a
neutral background it will mask out the *edges* of the background, but the
part of the background visible through the hole of the donut will *not* be
masked out.

It also means that the edging is *only* left-to-right, *not* top-to-bottom.
For example, if you take a picture of a human figure standing with arms
spread slightly from the sides and legs spread slightly, all against a
neutral background, the mask will go down the left arm to the tip of the
finger and then continue down the leg. It *won't* go up the inside of the
left arm to the armpit and down the left side.

It has been too long since I've worked with images that had "holes" to
remember if you can manually mask "donut" holes or not, but the second kind
of "hole" can be definitely be manually masked.

Basically, PgS's automatically generated mask is suitable for text wrapping,
not graphic composition. If you have a picture of a donut that text is being
wrapped around you don't normally want text to appear in the middle.

How to create your own masks? Any continuous vector drawing can be used.
Continuous means you can put the mouse cursor over any part of the line,
follow the line with the mouse cursor, never leave the line, and you will
eventually get back to where you started. There can be no "skips" or separate
pieces. You use the menu it "Apply Mask" with both the vector drawing and the
graphic selected.

Using the drawing tools in PgS it is fairly easy (though time consuming for
large, detailed graphics) to manually create a mask. To speed things up you
can have PgS generate a mask, release it (using the menu), and then edit it.

Tim Doty

__._,_.___
.

__,_._,___
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )