INTERACT FORUM

Windows => Third Party Plug-ins, Programs, and Skins => Topic started by: PaulSinnema on September 24, 2011, 09:13:06 am

Title: Rotate command does nothing
Post by: PaulSinnema on September 24, 2011, 09:13:06 am
Hi,

I've added a rotate function to my local Image class for MCRemote. This should enable users to rotate left/right. I issue the following command:

http://speedy:52199/MCWS/v1/File/Rotate?File=18186&Degrees=90&Zone=0&ZoneType=ID

This does not rotate the image. If I use this from a browser I get a 500 error. The 'Media Network' plugin says it received the command and serves 484 bytes.

Regards
Paul
Title: Re: Rotate command does nothing
Post by: PaulSinnema on September 24, 2011, 09:35:59 am
Hi,

I found the 'MCC_IMAGE_ROTATE_xxxxxx' commands. They sometimes work. When I rotate a particular image MC crashes terribly without any warning.

Regards
Paul
Title: Re: Rotate command does nothing
Post by: PaulSinnema on September 25, 2011, 01:03:30 pm
Hi,

I'm stumbed. MC does not crash anymore. I guess it was something my debugging of the first attempt on rotating images caused it. I guess the /File/Rotate command damages MC in such a way that it crashed. Hmmm... pretty weird.

I would like an answer to why the first attempt failed anyway. So could you please take a look at that functionality please.

Regards
Paul
Title: Re: Rotate command does nothing
Post by: PaulSinnema on November 11, 2011, 09:24:10 am
Anyone?
Title: Re: Rotate command does nothing
Post by: Matt on November 11, 2011, 02:08:52 pm
The web service works for me.  For example:
http://localhost:52199/MCWS/v1/File/Rotate?File=4863466&Degrees=180

Remember that rotation is only supported for JPEG files.
Title: Re: Rotate command does nothing
Post by: PaulSinnema on November 14, 2011, 09:03:07 am
Yep, works for me too. All images are JPG.