I have two questions regarding the imagemanipulaiton service

If I go to
http://chalk.coas.unf.edu:8080/imagemanip/ImageManipulation?url=http://chalk.coas.unf.edu:8080/fedora/objects/reality:imagead_1/datastreams/media/content&op=grayscale

I get at
javax.servlet.ServletException: Source image was not a gif, png, bmp, tiff, or 
jpg.

However this works
http://chalk.coas.unf.edu:8080/imagemanip/ImageManipulation?url=http://g0.gstatic.com/ig/images/igoogle_logo_sm.png&op=grayscale

Also, if I go to 
http://chalk.coas.unf.edu:8080/fedora/objects/reality:imagead_1/datastreams/media/content
  I see the file correctly loaded into the browser,
I know that there are some settings in fedora.fcfg for changing how Fedora 
provides the mime type of the stream but I can't seem to get it to work.

Secondly, if I try and add a watermark
http://chalk.coas.unf.edu:8080/imagemanip/ImageManipulation?url=http://g0.gstatic.com/ig/images/igoogle_logo_sm.png&op=watermark&wmText=Stuart

I get the following error
java.lang.ArrayIndexOutOfBoundsException: 0

I have searched the email lists, the fedora commons websites and cant find the 
answer.

Anyone have any thoughts on either issue?


Stuart Chalk, Ph.D.
Associate Professor of Chemistry
Department of Chemistry, University of North Florida
1 UNF Drive, Jacksonville FL 32224
P: 904-620-1938
F: 904-620-3535
E: sch...@unf.edu
W: http://www.unf.edu/coas/chemistry/


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to