Escape all public_ids including non-http ones.
Support color transformation parameter
Fix integer inconsistency