| View previous topic :: View next topic |
| Author |
Message |
DAanDASja
Joined: 14 Oct 2007 Posts: 17
|
Posted: Sun Dec 23, 2007 11:18 pm Post subject: Rotate an image |
|
|
Hi
What I want is simple: Rotate an image.
Does anyone know how I can do this?
Thx for your help
DAan |
|
| Back to top |
|
 |
hibbyware
Joined: 28 Mar 2007 Posts: 78
|
Posted: Mon Dec 24, 2007 1:01 am Post subject: |
|
|
| Take a look at this as it may be ideal for you and has image rotation --> Link <-- |
|
| Back to top |
|
 |
DAanDASja
Joined: 14 Oct 2007 Posts: 17
|
Posted: Tue Dec 25, 2007 1:24 am Post subject: |
|
|
Thanks Dude!
This is exactly what I was looking for.
Thx ;) |
|
| Back to top |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Thu Dec 27, 2007 8:52 am Post subject: |
|
|
Yeah thanks, tried it, it works good.
Should be helpful for use with my Mickey Mouse watch style clock,
where an animated character of myself points at the numbers on a clock face
with his/my arms.
I guess it should be possible with two arm sprites.
Even one if I can flip one of them. _________________ If not actually, then potentially. |
|
| Back to top |
|
 |
DAanDASja
Joined: 14 Oct 2007 Posts: 17
|
Posted: Sun Mar 09, 2008 3:18 am Post subject: |
|
|
Hey guys
After a long time I tried to get along with the Easy Accelerated Image Lib.
But it didn't work as i expected.
The images were displayed incorrectly. For example, an image of a drawn person (with Photoshop) becomes completely black and has a fat black border around its body...
Does anyone know how to solve this problem?
Thanks in advance!
DAan |
|
| Back to top |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Sun Mar 09, 2008 6:13 am Post subject: |
|
|
Wasn't a problem for me.
Did you try the windmill example?
The rotor is being rotated. _________________ If not actually, then potentially. |
|
| Back to top |
|
 |
DAanDASja
Joined: 14 Oct 2007 Posts: 17
|
Posted: Sun Mar 09, 2008 10:44 am Post subject: |
|
|
The windmill example works fine, but not if I try it with my images... :(
So my images must be the reason. I just wonder why, because with the lib from the tutorial they were displayed correctly. |
|
| Back to top |
|
 |
jean

Joined: 05 Jan 2008 Posts: 489
|
Posted: Sun Mar 09, 2008 11:03 pm Post subject: Blue screen for dummies |
|
|
Let's say we are going to make a special effect of you falling in an endless hole like in "Lord of the Rings". You have to act shaking yourself in front of a the camera having a blue sheet as a background (Computer Graphic will put some cool effect under you in its place...). Once you have captured the image sequence on your PC, you can take it and feed a program that elaborates alpha masks. For instance, we could say: "if blue component of a point is far grater than red and green toghether, then this point is completely transparent", but if the specified squelch is not adequate, the blue points near your white dress (that result too bright to belong to the blue screen) will NOT be masked out, resulting in a blue aura around you. When you draw by hand your images, quite the same thing happens: you must think that a colour is ALWAYS 4 components, so you cannot forget about the RGB color of transparent pixels, because in resampling -or other type- operations they will screw up everything adding those borders. Solutions? Specify for background color of pixels that will become transparent a color that's not too disturbing, and cut your images by hand trying to reduce the "feather" (i.e. make sharp cuts).
That's all i can say without taking a look to your images or your code...
jean |
|
| Back to top |
|
 |
DAanDASja
Joined: 14 Oct 2007 Posts: 17
|
Posted: Mon Mar 10, 2008 9:30 pm Post subject: |
|
|
Thanks for your reply, but I couldn't solve the problem.
I tried everything to reduce the "half-transparent" pixels around the drawing to avoid a black aura like you've said... But I can't remove the whole aura...
Is there a way to change some values in the library (maybe reducing the tolerance of transparency) or something like that?
DAan |
|
| Back to top |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Fri Mar 28, 2008 11:30 am Post subject: |
|
|
If anyone has the Windmill example could you please rapidshare it???
The link is dead :( _________________ If not actually, then potentially. |
|
| Back to top |
|
 |
hibbyware
Joined: 28 Mar 2007 Posts: 78
|
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Fri Mar 28, 2008 10:00 pm Post subject: |
|
|
Last time I used this library, I used 0.2 and it came with the Windmill, it worked perfectly with my images, I bet the problem is your images or if you changed something in the lib files, that might be the problem too. _________________
Upgrade your PSP |
|
| Back to top |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Sat Mar 29, 2008 9:03 am Post subject: |
|
|
Thanks for the link.
I remember searching QJ for "Windmill" :D
I had no problem replacing the images:
http://rapidshare.com/files/103150997/Demo.zip.html
They were made with Paint, the Windows bundled Paint program.
Art. _________________ If not actually, then potentially. |
|
| Back to top |
|
 |
|