Class Juicer::ImageEmbed
In: lib/juicer/image_embed.rb
Parent: Object

The ImageEmbed is a tool that can parse a CSS file and substitute all referenced URLs by a data uri

Only local resources will be processed this way, external resources referenced by absolute urls will be left alone

Methods

embed_data_uri   new   save   size_limit   urls  

Included Modules

Juicer::Chainable

Constants

SIZE_LIMIT = 32768   The maximum supported limit for modern browsers, See the Readme.rdoc for details

Public Class methods

Public Instance methods

Update file. If no output is provided, the input file is overwritten

Returns the size limit

Returns all referenced URLs in file.

[Validate]