Solved

Rotated pictures

Posted on 2003-12-09
5
201 Views
Last Modified: 2010-04-09
I have seen once a person who took a simple bmp picture and turned it to where its tip was facing up.

like it was

 __
|_|

he changed to

/\
\/

I would really like to know how to do this but if noone knows ill probably end up using a transparent gif :(
0
Comment
Question by:Bobdole
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:mrh30
ID: 9903354
Unfortunately there's no actual way of doing this directly in HTML.

I guess you'll have to modify the image before displaying it.

The only possible 'run-time' method I can think of is have some sort of code running to 'filter' the image that is returned.
0
 

Author Comment

by:Bobdole
ID: 9903376
umm... ohh well is there a way with javascript?
if so do you know how?
0
 
LVL 3

Accepted Solution

by:
mrh30 earned 100 total points
ID: 9903386
This appears to do something like what you want:

http://www.walterzorn.com/rotate_img/rotate_img.htm

But it's going to add quite a bit of processing time to the page load.
0
 
LVL 9

Expert Comment

by:pepsichris
ID: 9903438
No way with JavaScript - no way on the web that I can think of, so it's going to have to be a transparency job.

The closest simulation I can think of would be to use a design program cut the diamond shape into lots of little rows, so I can't see that working very well.

If you let us know why you wanted to do it like this then we might be able to offer some suggestions as to how to replicate the effect...?
0
 
LVL 9

Expert Comment

by:pepsichris
ID: 9903466
>>>No way with JavaScript

*Ahem!*
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question