Non-rectangular slices

Non-rectangular slices

Post by ronvi.. » Mon, 12 Feb 2007 15:41:23



Hi,
Is there a way to make the active area defined by Slices agree with an
irregular graphical delimiter. It strikes me as unprofessional to have
state changes occur outside an element's bounds. I would not be
sympathetic to someone trying to sell me sloppy GUI surface. As I look
around I can easily see dozens of IRL buttons, the only rectangular
ones are on the Wacom, which is ironically ugly.

Thanks,
Ron

 
 
 

Non-rectangular slices

Post by taci » Tue, 13 Feb 2007 00:24:56




> Is there a way to make the active area defined by Slices agree with an
> irregular graphical delimiter. It strikes me as unprofessional to have
> state changes occur outside an element's bounds. I would not be
> sympathetic to someone trying to sell me sloppy GUI surface. As I look
> around I can easily see dozens of IRL buttons, the only rectangular
> ones are on the Wacom, which is ironically ugly.

A slice is simply a piece of an image cut out of a larger image. All
images without exception are rectangular (even transparent images that
look like they aren't); since a slice is an image, all slices are
rectangular too.

It is possible to create a client-side image map area of a slice and
have the slice change only when the mouse moves into that area, and that
area does not need to be rectangular. But if you think of the word
"slice" as a synonym for "Photoshop image," you'll see that slices
themselves must be rectangular.

--
Photography, kink, polyamory, shareware, and more: all at
http://www.xeromag.com/franklin.html

 
 
 

Non-rectangular slices

Post by ronvi.. » Tue, 13 Feb 2007 08:46:30





> > Is there a way to make the active area defined by Slices agree with an
> > irregular graphical delimiter. It strikes me as unprofessional to have
> > state changes occur outside an element's bounds. I would not be
> > sympathetic to someone trying to sell me sloppy GUI surface. As I look
> > around I can easily see dozens of IRL buttons, the only rectangular
> > ones are on the Wacom, which is ironically ugly.

> A slice is simply a piece of an image cut out of a larger image. All
> images without exception are rectangular (even transparent images that
> look like they aren't); since a slice is an image, all slices are
> rectangular too.

> It is possible to create a client-side image map area of a slice and
> have the slice change only when the mouse moves into that area, and that
> area does not need to be rectangular. But if you think of the word
> "slice" as a synonym for "Photoshop image," you'll see that slices
> themselves must be rectangular.

> --
> Photography, kink, polyamory, shareware, and more: all athttp://www.xeromag.com/franklin.html

Hi,
That seems a little counterintuitive. If a wedge of pizza held up in
the dark and flashlight is shined on it, the image produced would not
be rectangular - even if the image is reproduced in a medium like a
mirror because the mirror could be round. That said, I am going to
defer to your greater experience in these matters and assume you are
correct. Regardless of image shape the relevant aspect of Slices for
my purposes is that they seem not to be associated with pixels at all
but that they are rectangular areas in all cases wherein mouse events
are treated different.
What are these client-side things you mention? I am very familiar with
the client/server model but did not know it had a place in Internet
graphics. I just went from thinking that RS-232 on TinyTerm was a fine
link, to a 6 mega pixel image being small and a 100MB PSD being
normal, to now jerky animation with sloppy boundaries as being
acceptable - it has been an intense 8 month.

Thanks as always,
Ron
BTW, I skipped everything between Windows 98 and the tail end of XP so
much of the story of the Internet has been lost on me.

 
 
 

Non-rectangular slices

Post by taci » Tue, 13 Feb 2007 11:25:00




> That seems a little counterintuitive. If a wedge of pizza held up in
> the dark and flashlight is shined on it, the image produced would not
> be rectangular - even if the image is reproduced in a medium like a
> mirror because the mirror could be round. That said, I am going to
> defer to your greater experience in these matters and assume you are
> correct.

When I use the word "image," I am talking about computer images
reproduced in Photoshop. All such images must always be rectangular, as
they are made of regular arrays of pixels. (The real world is not
subject to such limitations, of course.)

Quote:> What are these client-side things you mention? I am very familiar with
> the client/server model but did not know it had a place in Internet
> graphics. I just went from thinking that RS-232 on TinyTerm was a fine
> link, to a 6 mega pixel image being small and a 100MB PSD being
> normal, to now jerky animation with sloppy boundaries as being
> acceptable - it has been an intense 8 month.

A "client side image map" is a set of HTML coordinates, downloaded to
the browser (hence 'client side'--in Web terms, a Web browser is a
"client," and a Web server is a "server") that give the browser areas of
an image that it is to treat differently.

You can write a client-side image map that will, for example, contain
links, or trigger JavaScript rollovers, or perform other actions.

--
Photography, kink, polyamory, shareware, and more: all at
http://www.xeromag.com/franklin.html