thank you for the enlighenment. you sould probably fix the image.json file in
http://qooxdoo.org/documentation/0.8/image_clipping_and_combining
cheers
thron7-2 wrote:
>
>
>
> Andreas G. wrote:
>> hello alex!
>>
>> yes, my image.json is located at the right directory. and yes this path
>> does
>> exist.
>>
>
> I'n not so sure. We're talking about the output path here.
>
> "prefix" : "${RESPATH}/images/clipped/tabview",
>
> The ouput path prefix is calculated *relative* to the image path (whether
> this is good or bad). I presume what you really want is this output path:
>
>
> /home/snik/work/hsm/qooxdoo/qxgui/qxgui/source/resource/qxgui/images/clipped/tabview-tl.png
>
> while what you have configured is this:
>
> /home/snik/work/hsm/qooxdoo/qxgui/qxgui/source/resource/qxgui/images/grid/source/resource/qxgui/images/clipped/tabview-
> tl.png
>
>
> Get it?
>
> T.
>
>> cheers
>>
>>
>>
>> Alexander Back wrote:
>>
>>> Hi Andreas,
>>>
>>> It seems to me that the "image.json" is located at the wrong directory.
>>>
>>> --snip--
>>> /home/snik/work/hsm/qooxdoo/qxgui/qxgui/source/resource/qxgui/images/grid/./source/resource/qxgui/images/clipped/tabview-
>>> tl.png
>>> --snip--
>>>
>>> Does this path really exist? It looks like it is doubled (at least the
>>> part of
>>> "./source/resource/qxgui ...")
>>>
>>> You have to make sure that the "image.json" is located at the same level
>>> as
>>> the "source" directory.
>>>
>>> cheers,
>>> Alex
>>>
>>> On Thursday 14 May 2009 Andreas G. wrote:
>>>
>>>> hello there!
>>>>
>>>> at first, here is my simple image.json file:
>>>>
>>>> {
>>>> "jobs" :
>>>> {
>>>> "common" :
>>>> {
>>>> "let" :
>>>> {
>>>> "RESPATH" : "./source/resource/qxgui"
>>>> },
>>>>
>>>> "cache" :
>>>> {
>>>> "compile" : "./cache"
>>>> }
>>>> },
>>>>
>>>> "image-clipping" :
>>>> {
>>>> "extend" : ["common"],
>>>>
>>>> "slice-images" :
>>>> {
>>>> "images" :
>>>> {
>>>> "${RESPATH}/images/grid/pane.png" :
>>>> {
>>>> "prefix" : "${RESPATH}/images/clipped/tabview",
>>>> "border-width" : 5
>>>> }
>>>> }
>>>> }
>>>> },
>>>>
>>>> "images" :
>>>> {
>>>> "run" : [ "image-clipping" ]
>>>> }
>>>> }
>>>> }
>>>>
>>>>
>>>> and thats the error i get:
>>>>
>>>> ...
>>>> ===========================================================================
>>>> = EXECUTING: IMAGES::IMAGE-CLIPPING
>>>> ===========================================================================
>>>> = convert: unable to open image
>>>> `/home/snik/work/hsm/qooxdoo/qxgui/qxgui/source/resource/qxgui/images/grid/
>>>> ./source/resource/qxgui/images/clipped/tabview-tl.png': No such file or
>>>> directory @ magick/blob.c/OpenBlob/2418.
>>>> convert: unable to open image
>>>> `/home/snik/work/hsm/qooxdoo/qxgui/qxgui/source/resource/qxgui/images/grid/
>>>> ./source/resource/qxgui/images/clipped/tabview-t.png': No such file or
>>>> directory @ magick/blob.c/OpenBlob/2418.
>>>> convert: unable to open image
>>>> `/home/snik/work/hsm/qooxdoo/qxgui/qxgui/source/resource/qxgui/images/grid/
>>>> ./source/resource/qxgui/images/clipped/tabview-tr.png': No such file or
>>>> directory @ magick/blob.c/OpenBlob/2418.
>>>> ...
>>>>
>>>> both paths are ok. seems like imagemagick tries to open a directory
>>>> instead
>>>> of the given image-file ( pane.png ).
>>>>
>>> ------------------------------------------------------------------------------
>>> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
>>> production scanning environment may not be a perfect world - but thanks
>>> to
>>> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
>>> i700
>>> Series Scanner you'll get full speed at 300 dpi even with all image
>>> processing features enabled. http://p.sf.net/sfu/kodak-com
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>>
>>>
>>
>>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://n2.nabble.com/image-clipping-doesnt-work-tp2888633p2937854.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel