You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Vik Tara <vi...@propco.co.uk> on 2009/04/17 12:52:58 UTC
Re: Image Manipulation
Hi All,
We have been working further with JMagick / ImageMagick in combination
with Lenya 2.0.
Could do with a pointer on where to place some libs.
Bascially JMagick is a wrapper that uses JNI to hook to ImageMagick.
Therefore we have a jmagick.jar and a corresponding libJMagick.so.
Where would be the best place for such libraries so they would be
accessible to Lenya?
Currently we are keeping them outside of lenya and setting environment
variables - but we would like to integrate it.
Additionally I received no objection from the JMagick community to
establishing a dual LGPL / Apache Licence - so this could be bundled
with Lenya.
Regards
Vik
Vik Tara wrote:
>> The one downside with that project is it is LGPL. That means it can't
>> be shipped with Lenya. So if we are going to integrate this into the
>> trunk, it needs to be in such a way as to work without it.
> I'm one of the maintainer's of the JMagick project - I don't see a
> reason why anyone would object to a dual LGPL / Apache License.
>
> I'll check with the JMagick community.
>> wrote a small web program to resize images outside of Lenya so
>> hopefully users will upload an image that is more appropriate for use
>> on the web. I don't know what you are looking at doing, but something
>> like built in would be great.
> Resize alone has a number of advantages using JM - like the format of
> the source image. Using cocoon limits you to resizing jpeg's whereas
> many more formats would be supported using a JM approach.
>
> Also creating on the fly animations, rounding the corners of images,
> merging one image with another - that's the sort of varied functionality
> I am proposing.
>
> Regards
>
>
>
> Vik
>
>
> Richard Frovarp wrote:
>> Vik Tara wrote:
>>> Hi,
>>>
>>> I'm working on adding better image manipulation to Lenya 2.0.
>>>
>>> We currently use cocoon's imagereader which resizes images - but it's a
>>> bit limited after that.
>>>
>>> The idea is to integrate JMagick:
>>>
>>> http://www.jmagick.org
>>>
>>> So that we can do much more clever things with images.
>>>
>>> So far we have just hacked the cocoon imagereader class and added some
>>> code in there as a proof of concept - which works fine in cocoon.
>>>
>>> Could anyone suggest the best way to structure this into Lenya?
>>>
>>> Many Thanks
>>>
>>>
>>>
>>> Vik
>>>
>>>
>> The one downside with that project is it is LGPL. That means it can't
>> be shipped with Lenya. So if we are going to integrate this into the
>> trunk, it needs to be in such a way as to work without it.
>>
>> More clever things would be quite good. I wrote a small web program to
>> resize images outside of Lenya so hopefully users will upload an image
>> that is more appropriate for use on the web. I don't know what you are
>> looking at doing, but something like built in would be great.
>>
>> Richard
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Image Manipulation
Posted by Vik Tara <vi...@propco.co.uk>.
>
> Could do with a pointer on where to place some libs.
>
> Bascially JMagick is a wrapper that uses JNI to hook to ImageMagick.
>
> Therefore we have a jmagick.jar and a corresponding libJMagick.so.
>
> Where would be the best place for such libraries so they would be
> accessible to Lenya?
Anyone have any idea on this?
Thanks
Vik
Vik Tara wrote:
> Hi All,
>
> We have been working further with JMagick / ImageMagick in combination
> with Lenya 2.0.
>
> Could do with a pointer on where to place some libs.
>
> Bascially JMagick is a wrapper that uses JNI to hook to ImageMagick.
>
> Therefore we have a jmagick.jar and a corresponding libJMagick.so.
>
> Where would be the best place for such libraries so they would be
> accessible to Lenya?
>
> Currently we are keeping them outside of lenya and setting environment
> variables - but we would like to integrate it.
>
> Additionally I received no objection from the JMagick community to
> establishing a dual LGPL / Apache Licence - so this could be bundled
> with Lenya.
>
> Regards
>
>
>
> Vik
>
> Vik Tara wrote:
>
>>> The one downside with that project is it is LGPL. That means it can't
>>> be shipped with Lenya. So if we are going to integrate this into the
>>> trunk, it needs to be in such a way as to work without it.
>>>
>> I'm one of the maintainer's of the JMagick project - I don't see a
>> reason why anyone would object to a dual LGPL / Apache License.
>>
>> I'll check with the JMagick community.
>>
>>> wrote a small web program to resize images outside of Lenya so
>>> hopefully users will upload an image that is more appropriate for use
>>> on the web. I don't know what you are looking at doing, but something
>>> like built in would be great.
>>>
>> Resize alone has a number of advantages using JM - like the format of
>> the source image. Using cocoon limits you to resizing jpeg's whereas
>> many more formats would be supported using a JM approach.
>>
>> Also creating on the fly animations, rounding the corners of images,
>> merging one image with another - that's the sort of varied functionality
>> I am proposing.
>>
>> Regards
>>
>>
>>
>> Vik
>>
>>
>> Richard Frovarp wrote:
>>
>>> Vik Tara wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm working on adding better image manipulation to Lenya 2.0.
>>>>
>>>> We currently use cocoon's imagereader which resizes images - but it's a
>>>> bit limited after that.
>>>>
>>>> The idea is to integrate JMagick:
>>>>
>>>> http://www.jmagick.org
>>>>
>>>> So that we can do much more clever things with images.
>>>>
>>>> So far we have just hacked the cocoon imagereader class and added some
>>>> code in there as a proof of concept - which works fine in cocoon.
>>>>
>>>> Could anyone suggest the best way to structure this into Lenya?
>>>>
>>>> Many Thanks
>>>>
>>>>
>>>>
>>>> Vik
>>>>
>>>>
>>>>
>>> The one downside with that project is it is LGPL. That means it can't
>>> be shipped with Lenya. So if we are going to integrate this into the
>>> trunk, it needs to be in such a way as to work without it.
>>>
>>> More clever things would be quite good. I wrote a small web program to
>>> resize images outside of Lenya so hopefully users will upload an image
>>> that is more appropriate for use on the web. I don't know what you are
>>> looking at doing, but something like built in would be great.
>>>
>>> Richard
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: dev-help@lenya.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org