Solved

Rotated pictures

Posted on 2003-12-09
5
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
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).

751 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