<bensonshaji>
Hi, I am trying to write a custom filter to optimize images using rmagick. How to output the compiled binary item to a different directory ?
VitamineD has quit [Ping timeout: 240 seconds]
jugglinmike has joined #nanoc
<ddfreyne>
bensonshaji: The filter should write to output_path, and then you can set up a route that writes it to the rigth location
jonbullock has joined #nanoc
<bensonshaji>
ddfreyne, Thanks for the reply, In my case I need to generate images of size 300, 600, 800 px of the same image and then put them in their respective directories (300, 600, 800) How can I route in this scenario ?
<bobthecow>
bensonshaji: you need to make three item reps, then compile and route them separately.
<bensonshaji>
bobthecow, Item Representation must be what I am looking for... :) Thank you
<bensonshaji>
One more thing, Cant we pass output path in the filter itself ?
<bobthecow>
no.
bensonshaji has quit [Quit: Leaving]
VitamineD has joined #nanoc
<travis-ci>
[travis-ci] nanoc/nanoc/release-3.7.x 7a3db8a Denis Defreyne: The build passed.