Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
1
  • Loading branch information
winesoft committed Sep 10, 2015
1 parent 4b6c6a6 commit a049600
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions admin/media.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ lighttpd의 `Mod-H264-Streaming-Testing-Version2 <http://h264.code-shop.com/trac
모두 **start** 를 QueryString으로 사용하고 있다.



.. _media-hls:

HLS (HTTP Live Streaming)
Expand Down Expand Up @@ -580,6 +581,35 @@ Format 변경
http://image.example.com/img.jpg/dims/byoriginal/size_water/


.. _media-dims-anigif:

Animated GIF
-----------------------

Animated GIF에 대해서도 모든 DIMS변환이 동일하게 적용된다.
처리 순서는 다음과 같다.

1. Animated GIF를 낱개의 이미지들로 분해한다.
2. 각각의 이미지를 변환한다.
3. 변환된 이미지를 Animated GIF로 결합한다.

결합된 이미지가 많을수록 처리비용이 높아 서비스 품질이 저하될 수 있다.
이런 경우 첫 번째 이미지에 대해서만 변환하도록 설정하면 처리 비용을 낮출 수 있다. ::

# server.xml - <Server><VHostDefault><Options>
# vhosts.xml - <Vhosts><Vhost><Options>
<Dims FirstFrameOnly="OFF" />
- ``FirstFrameOnly (기본: OFF)`` ON인 경우 Animated GIF의 첫 장면만 변환한다.

다음과 같이 URL을 호출할 때 ``FirstFrameOnly`` 옵션을 명시적으로 지정할 수 있다. ::

http://image.example.com/img.jpg/dims/firstframe/on/resize/200x200/
http://image.example.com/img.jpg/dims/firstframe/off/resize/200x200/

위와 같이 URL에 명시적으로 지정되어 있는 경우 설정보다 우선한다.


기타
-----------------------
Expand Down

0 comments on commit a049600

Please sign in to comment.