How do i make GIF images online?

Source: Internet
Author: User
Tags gpg imagemagick

Recently wanted to make a GIF online production site, so the study of ImageMagick and GraphicsMagick make GIF pictures
The station has been made: interested friends can first see
http://www.sosogif.com/make_online.jsp

SOURCE 1:http://www.quzhuanpan.com/home/sourcelist.jsp?type=6

SOURCE 2:http://www.quzhuanpan.com/download/checkresult.action?id=30&type=6

Installing ImageMagick

The following is the core process of making GIF, share to everyone, want to like.
@apt-get Install ImageMagick
Convert +profile ""out/Test.gif
@+profile "*": Image does not store EXIF information, must be used, otherwise generate pictures too large
convert-colors +profile ""out/Test.gif
@-colors Number of colors: Set the number of colors used in the image, if it is generated PNG or GIF pictures should specify this parameter
Note: The picture starts to become smaller
convert-resize 200x200-colors +profile ""out/Test.gif
@-resize width x Height!: Change the size, if using an exclamation point, indicating that the visual scale is not retained, forcibly changing the size to match the given width and height, if only a width or height is given, such as "width X" or "X high" (The effect of "X high" and "width × height" is the same), Change the dimensions proportionally to the known parameters
convert-rotate test1.gif heh.gif
@ Rotate 90 degrees
convert-fill white-pointsize 24-draw "text 10,15 ' sosogif.com '" Heh.gif hh.gif
@ watermark The picture, white, text coordinates in: 10x50 position

Installing GraphicsMagick

@apt-get Install GraphicsMagick
How to use @GraphicsMagick image processing System
GM Identify Test.gif
@ Show image file Details
GM Montage-mode Concatenate-tile 3x1 00d5154fe8fe11e587cba6a921a498bf-www.dubixiazi.com.jpg 00eac261e90d11e59a56a6a921a498bf-www.dubixiazi.com.jpg 00ed5ea1e90611e587bfa6a921a498bf-www.dubixiazi.com.jpg Concatenated.jpg
@ Three images and a pair of images
GM convert 2.png 2.gpg
@ format Conversion
GM convert-density 288-geometry 25% 2.gpg 3.jpg
reduced to the original 1/4, and DPI to 288
GM Convert "image.gif[0]" First.gif
@ Extract first frame from GIF file
GM Convert-delay 00*.jpg j.gif
@ every time delay 20 wonderful play GIF
GM Convert-loop frame*.gif animation.gif
@ Let the animation Loop 50 times
GM convert input.jpg-resize "500x500>" Output_1.jpg
@ Plus, it means that only when the width and height of the picture is greater than the given width and height, the "Zoom Out" operation, if not added, will cause the picture to be magnified.
GM convert Input.jpg-thumbnail "100x100" Output_1.jpg
@ equal ratio (disadvantage: produce white edge)
GM convert Input.jpg-thumbnail "100x100!" Output_2.jpg
@ non-equal ratio thumbnail, thumbnail by given parameter (disadvantage: aspect ratio will vary)
GM convert Input.jpg-thumbnail "100x100"-background gray-gravity center-extent 100x100 output_4.jpg
@ generated picture size is: 100x100, also guaranteed proportions, while not any of the picture cropping, the missing part is filled by the specified color
GM convert-colorspace RGB 2.png 22.png
@ Bit Depth 32 to 24, after the turn, the color of the picture will change slightly
Other:
no additional information is stored in the ImageMagick using +profile "*" in the deleted picture.
Jmagick, using the Profileimage ("*", null) method on the Magickimage class, deleting the picture does not store additional information.
use-quality to control the quality of pictures in ImageMagick,
Jmagick, use the Setquality (80) method on the Imageinfo class to control the quality of the picture


How do i make GIF images online?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.