INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Rotate command does nothing  (Read 2080 times)

PaulSinnema

  • Galactic Citizen
  • ****
  • Posts: 393
  • You don't know what you're missing until its gone
Rotate command does nothing
« 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
Logged

PaulSinnema

  • Galactic Citizen
  • ****
  • Posts: 393
  • You don't know what you're missing until its gone
Re: Rotate command does nothing
« Reply #1 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
Logged

PaulSinnema

  • Galactic Citizen
  • ****
  • Posts: 393
  • You don't know what you're missing until its gone
Re: Rotate command does nothing
« Reply #2 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
Logged

PaulSinnema

  • Galactic Citizen
  • ****
  • Posts: 393
  • You don't know what you're missing until its gone
Re: Rotate command does nothing
« Reply #3 on: November 11, 2011, 09:24:10 am »

Anyone?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: Rotate command does nothing
« Reply #4 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.
Logged
Matt Ashland, JRiver Media Center

PaulSinnema

  • Galactic Citizen
  • ****
  • Posts: 393
  • You don't know what you're missing until its gone
Re: Rotate command does nothing
« Reply #5 on: November 14, 2011, 09:03:07 am »

Yep, works for me too. All images are JPG.
Logged
Pages: [1]   Go Up