Sha256: 498cd27970679e5da7b27c6f64d89aa9e3808fa3df4f0801c58953ad0d4642ec

Contents?: true

Size: 504 Bytes

Versions: 9

Compression:

Stored size: 504 Bytes

Contents

module Bioshogi
  module Formatter
    module Animation
      class AnimationApngBuilder < AnimationGifBuilder
        def ext_name
          "apng"
        end

        # apng も普通に変換すると1枚目のパレットで全体が決まってしまう
        # だけど PNG24 で保存するようにしたのでこれは必要ない
        # けど一応いれとこう
        def ffmpeg_option_fine_tune_for_each_file_type
          "-pix_fmt rgb24"
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bioshogi-0.0.15 lib/bioshogi/formatter/animation/animation_apng_builder.rb
bioshogi-0.0.14 lib/bioshogi/formatter/animation/animation_apng_builder.rb
bioshogi-0.0.10 lib/bioshogi/formatter/animation/animation_apng_builder.rb
bioshogi-0.0.9 lib/bioshogi/formatter/animation/animation_apng_builder.rb
bioshogi-0.0.8 lib/bioshogi/formatter/animation/animation_apng_builder.rb
bioshogi-0.0.7 lib/bioshogi/formatter/animation/animation_apng_builder.rb
bioshogi-0.0.5 lib/bioshogi/formatter/animation/animation_apng_builder.rb
bioshogi-0.0.4 lib/bioshogi/formatter/animation/animation_apng_builder.rb
bioshogi-0.0.3 lib/bioshogi/formatter/animation/animation_apng_builder.rb