Skip to content

Instantly share code, notes, and snippets.

View cmrockwell's full-sized avatar

Cris Rockwell cmrockwell

View GitHub Profile
@cmrockwell
cmrockwell / TinyPNG Gist
Last active October 1, 2015 14:48
AEM WF Step to make optimized PNG
package com.r2i.michigan.lsa.services.osgi.workflow;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import org.apache.commons.io.IOUtils;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Properties;
import org.apache.felix.scr.annotations.Property;
import org.apache.felix.scr.annotations.Service;