selective masking (Wishlist)

selective masking // Wishlist

1  |  

sw comit

Feb 3, 2001, 10:54pm
I wish you could mask out HTML colors from jpg pictures. For example if you
made a plant image, and you wanna mask out the black background, you would
do something like

create picture www.something.com/plant.jpg mask=black

ananas

Feb 3, 2001, 11:16pm
Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------FBBD1BBD76406C799C8F1AE3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

The result would be very disappointing if it would be implemented.
The way JPG works creates multicolor structures in areas that had only
one color in the uncompressed version before. You can see that easily by
trying to fill a (nearly) single color area in a JPG, in most cases it
will leave parts out.
Second reason why it cannot work like that is the color depth of JPG,
HTML colors are color triplets with 256 steps for each solor, not enough
to cover the color range of JPG.

sw comit schrieb:
>
> I wish you could mask out HTML colors from jpg pictures. For example if you
> made a plant image, and you wanna mask out the black background, you would
> do something like
>
> create picture www.something.com/plant.jpg mask=black
--------------FBBD1BBD76406C799C8F1AE3
Content-Type: text/x-vcard; charset=us-ascii;
name="vha.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Visitenkarte für Volker Hatzenberger
Content-Disposition: attachment;
filename="vha.vcf"

begin:vcard
n:Hatzenberger;Volker
x-mozilla-html:FALSE
url:oct31.de
adr:;;Bornheimer Strasse 15;Bonn;;53111;Germany
version:2.1
email;internet:vha at oct31.de
end:vcard

--------------FBBD1BBD76406C799C8F1AE3--

j b e l l

Feb 3, 2001, 11:29pm
not only that.. but how would it know which colors are black? and it would
probably end up taking black specks out of it too, lightening the image and
causing discoloration.. that's probably why they went with masks heh

--
J B E L L
http://platinum.awjbell.com
G O I N G P L A T I N U M
[View Quote]

sw comit

Feb 4, 2001, 12:05am
When I said black, I meant the HTML code for it: 0

I see what you mean I kinda thought about this. I have a jpg template
picture and I edit text and graphics into it, it for a newspaper. Everytime
I use it, the colors get worse and worse and more fades and
blended....Perhaps instead of just 1 color to mask, it could just mask
everything around it, specified by the code. For example have it also mask
out 20 shades of black instead of just one.

create picture www.something.com/plant.jpg mask=0 shades=20

Also, Ananas, I've seen many HTML color convertors on the web. It take any
color and turn it into an HTML color code...

sw comit

Feb 4, 2001, 12:09am
Forgot something, it would be 20 shades in both directions from the original
color you put in. Raise or lower the RGB equally to find the closest
shades.

ananas

Feb 4, 2001, 4:39am
Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------7CE498A486D9EFA98A3D31AF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I think (but I'm not sure) that color converters go to the nearest
color, throwing away all bits except for the first 8

You're right, masking with tolerance is how the program works I use to
make BMP masks, that could work.

sw comit schrieb:
>
> Forgot something, it would be 20 shades in both directions from the original
> color you put in. Raise or lower the RGB equally to find the closest
> shades.
--------------7CE498A486D9EFA98A3D31AF
Content-Type: text/x-vcard; charset=us-ascii;
name="vha.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Visitenkarte für Volker Hatzenberger
Content-Disposition: attachment;
filename="vha.vcf"

begin:vcard
n:Hatzenberger;Volker
x-mozilla-html:FALSE
url:oct31.de
adr:;;Bornheimer Strasse 15;Bonn;;53111;Germany
version:2.1
email;internet:vha at oct31.de
end:vcard

--------------7CE498A486D9EFA98A3D31AF--

sw comit

Feb 4, 2001, 5:03am
And I bet AW would jump at it since it would give em an excuse to not have
to make 2d objects anymore, hehe...

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn