Paul Johnson wrote:
> On 8/8/07, Jochen Schroeder <[EMAIL PROTECTED]> wrote:
>   
>> Paul Johnson wrote:
>>     
>>> In the graphical interface for the background, I noticed the option to
>>> use an existing image.
>>>
>>> I notice a wonderful effect in my backgrounds directory--the first two
>>> edj files are not massive!  The last two are the usual big ones.
>>>
>>> -rw-rw-r--  1 pauljohn pauljohn    1450 2007-08-06 12:34 Sea.edj
>>> -rw-rw-r--  1 pauljohn pauljohn    1470 2007-08-06 12:40 Mtn.edj
>>> -rw-rw-r--  1 pauljohn pauljohn 1652111 2007-08-07 00:20 Ocean.edj
>>> -rw-rw-r--  1 pauljohn pauljohn  317395 2007-08-06 13:23 City.edj
>>>
>>> Can somebody please tell me a scriptable way to create these smaller
>>> edj files?  The only way I know now to create edj files is e17setroot,
>>> and it always makes the huge ones.  If I could create the edj files,
>>> then I could run a script to randomly change backgrounds in E17
>>>
>>> pj
>>>
>>>       
>> Use edje_cc to create an edje file. Just do a edje_decc on one of the
>> images above which should create several files (a build.sh an *.edc and
>> the image file IIRC). If you look at the files it should be fairly
>> obvious what changes you need to make to the edc file to use a different
>> image. About randomly changing backgrounds, that's what the slideshow
>> module does I think.
>>
>> Cheers
>> Jochen
>>
>>     
>
> Thanks for the tip.  I find that edje_decc does work on the large edj
> files--the ones that have the jpg saved inside--but on the small edj
> files, the edje_decc fails.  It is unable to handle the file that does
> not keep the jpeg inside it.  Do you have any advice on this:
>
> $ edje_decc 51572_wface.edj
> Output Image: 51572_wface//home/pauljohn/Backgrounds/51572_wface.jpg
> ERROR: cannot write file
> 51572_wface//home/pauljohn/Backgrounds/51572_wface.jpg. Perhaps
> missing JPEG or PNG saver modules for Evas.
>
>   
I encountered the same thing the other day. After I wrote the message to
you I thought I try if what I said wasn't complete rubbish. I assume
it's because those files only have a reference to the original. I'm not
quite sure how you specify just a reference to an image file, maybe have
a look at the edje documentation on e.org.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to