Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

Rotated pictures

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
Bobdole
Asked:
Bobdole
  • 2
  • 2
1 Solution
 
mrh30Commented:
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
 
BobdoleAuthor Commented:
umm... ohh well is there a way with javascript?
if so do you know how?
0
 
mrh30Commented:
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
 
pepsichrisCommented:
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
 
pepsichrisCommented:
>>>No way with JavaScript

*Ahem!*
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now