Solved

Rotated pictures

Posted on 2003-12-09
5
172 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
>>>No way with JavaScript

*Ahem!*
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
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.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now