css - Ant task : how to create Base 64 images -


i'm creating offline version of website. it, want build whole site single html file. last step consists of converting images of css base64 using ant.

i've tried use tool called jawr, "null pointer" exception... , don't know why: i've tried short css file, doesn't work either...

any idea?

ok, i've found way:

to it, i've used 'exec' task call php script. in script, call php's base64_encode function.

for more details including base64 converted images css using php, see http://devin.la/blog/base64-encode-images-css-script-mobile.

finally, wait until new css file ready, use 'waitfor' ant task.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -