Skip to content

mit-commit/helium-photoshop-patch

Repository files navigation

This repository contains the code necessary to build the patch DLL used for in situ replacement of Photoshop filters with Helium-lifted replacements, as described in section 6.5 of the Helium PLDI 2015 paper.

To build, run ./configure.py > Makefile, then run nmake. After Photoshop finishes initializing, inject combineddll.dll (with a tool such as Process Hacker). Then use the Photoshop filters as normal -- the patch will redirect execution to the Helium-lifted implementations. time_plugin_advanced.jsx contains ExtendScript code to collect timings -- edit doStuff to run the desired filters, then run the script without and with the patch DLL.

The Helium outputs in photoshop_*.cpp have been pretty-printed and scheduled using an autotuner, as described in the paper.

The Add Noise patch does not work, due to a problem with the patch code and/or a problem with Helium (see Helium #10).

About

patch DLL replacing Photoshop filters with Helium-lifted implementations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors