Skip to content

Commit

Permalink
WIP reduce transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Sep 7, 2017
1 parent e85d165 commit 92062a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/transformers/riiif/kakadu_transformer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ def command_factory
# TODO: Calculate a new set of transforms with respect to reduction_factor
def post_process(data, reduction_factor)
puts "Reduction factor is #{reduction_factor}"

transformation = transformation.reduce(reduction_factor)
data_io = StringIO.new(data)
data_io.binmode
out = ''
Expand Down

0 comments on commit 92062a0

Please sign in to comment.