MCPcopy Create free account

hub / github.com/extrapixel/gif-animation / functions

Functions96 in github.com/extrapixel/gif-animation

↓ 18 callersMethodread
Reads GIF image from stream @param is : BufferedInputStream containing GIF file. @return read status code (0 = no errors)
gifAnimation/src/GifDecoder.java:307
↓ 8 callersMethoderr
Returns true if an error was encountered during reading/decoding
gifAnimation/src/GifDecoder.java:504
↓ 8 callersMethodwriteShort
Write 16-bit value to output stream, LSB first
gifAnimation/src/GifEncoder.java:482
↓ 7 callersMethodreadShort
Reads next 16-bit value, LSB first
gifAnimation/src/GifDecoder.java:775
↓ 5 callersMethodoutput
(int code, OutputStream outs)
gifAnimation/src/GifEncoder.java:1250
↓ 4 callersMethodjump
Jump to a specific location (in frames). if the frame does not exist, go to last frame @param where : file location (in sketch)
gifAnimation/src/Gif.java:307
↓ 4 callersMethodreadBlock
Reads next variable length block from input. @return number of bytes stored in "buffer"
gifAnimation/src/GifDecoder.java:537
↓ 3 callersMethodMAXCODE
(int n_bits)
gifAnimation/src/GifEncoder.java:1232
↓ 3 callersMethodgetFrame
Gets the image contents of frame n. @param n : frame number @return BufferedImage representation of frame, or null if n is invalid.
gifAnimation/src/GifDecoder.java:283
↓ 3 callersMethodinit
Initializes or re-initializes reader
gifAnimation/src/GifDecoder.java:511
↓ 3 callersMethodskip
Skips variable length blocks up to and including next zero length block.
gifAnimation/src/GifDecoder.java:797
↓ 3 callersMethodstop
Stop the animation, and rewind.
gifAnimation/src/Gif.java:295
↓ 2 callersMethodchar_out
(byte c, OutputStream outs)
gifAnimation/src/GifEncoder.java:1118
↓ 2 callersMethodcl_hash
(int hsize)
gifAnimation/src/GifEncoder.java:1136
↓ 2 callersMethodcreateDecoder
(PApplet parent, String filename)
gifAnimation/src/Gif.java:167
↓ 2 callersMethodextractFrames
(GifDecoder gifDecoder)
gifAnimation/src/Gif.java:176
↓ 2 callersMethodflush_char
(OutputStream outs)
gifAnimation/src/GifEncoder.java:1224
↓ 2 callersMethodgetFrameCount
Gets the number of frames read from file. @return frame count
gifAnimation/src/GifDecoder.java:166
↓ 2 callersMethodnextPixel
()
gifAnimation/src/GifEncoder.java:1239
↓ 2 callersMethodreadColorTable
Reads color table as 256 RGB integer values @param ncolors int number of colors to read @return int array containing 256 colors (packed ARGB
gifAnimation/src/GifDecoder.java:566
↓ 2 callersMethodreadContents
Main file parser. Reads GIF content blocks.
gifAnimation/src/GifDecoder.java:594
↓ 2 callersMethodreadHeader
Reads GIF file header information.
gifAnimation/src/GifDecoder.java:661
↓ 2 callersMethodstart
Initiates GIF file creation on the given stream. The stream is not closed automatically. @param os OutputStream on which GIF images are writ
gifAnimation/src/GifEncoder.java:264
↓ 2 callersMethodwritePalette
Writes color table
gifAnimation/src/GifEncoder.java:463
↓ 2 callersMethodwriteString
Writes string to output stream
gifAnimation/src/GifEncoder.java:490
↓ 1 callersMethodalterneigh
(int rad, int i, int b, int g, int r)
gifAnimation/src/GifEncoder.java:900
↓ 1 callersMethodaltersingle
(int alpha, int i, int b, int g, int r)
gifAnimation/src/GifEncoder.java:942
↓ 1 callersMethodanalyzePixels
Analyzes image colors and creates color map.
gifAnimation/src/GifEncoder.java:300
↓ 1 callersMethodcl_block
(OutputStream outs)
gifAnimation/src/GifEncoder.java:1127
↓ 1 callersMethodcolorMap
()
gifAnimation/src/GifEncoder.java:653
↓ 1 callersMethodcompress
(int init_bits, OutputStream outs)
gifAnimation/src/GifEncoder.java:1141
↓ 1 callersMethodcontest
(int b, int g, int r)
gifAnimation/src/GifEncoder.java:954
↓ 1 callersMethodcreateInputStream
(PApplet parent, String filename)
gifAnimation/src/Gif.java:140
↓ 1 callersMethoddecodeImageData
Decodes LZW image data into pixel array. Adapted from John Cristy's ImageMagick.
gifAnimation/src/GifDecoder.java:387
↓ 1 callersMethoddispose
()
gifAnimation/src/Gif.java:83
↓ 1 callersMethodencode
(OutputStream os)
gifAnimation/src/GifEncoder.java:1212
↓ 1 callersMethodextractDelays
(GifDecoder gifDecoder)
gifAnimation/src/Gif.java:194
↓ 1 callersMethodfindClosest
Returns index of palette color closest to c
gifAnimation/src/GifEncoder.java:334
↓ 1 callersMethodfinish
()
gifAnimation/src/GifMaker.java:164
↓ 1 callersMethodgetDelay
Gets display duration for specified frame. @param n int index of frame @return delay in milliseconds
gifAnimation/src/GifDecoder.java:152
↓ 1 callersMethodgetImagePixels
Extracts image pixels into byte array "pixels"
gifAnimation/src/GifEncoder.java:361
↓ 1 callersMethodgetLoopCount
Gets the "Netscape" iteration count, if any. A count of 0 means repeat indefinitiely. @return iteration count if one was specified, else 1.
gifAnimation/src/GifDecoder.java:185
↓ 1 callersMethodinitEncoder
(String filename)
gifAnimation/src/GifMaker.java:65
↓ 1 callersMethodinxbuild
()
gifAnimation/src/GifEncoder.java:673
↓ 1 callersMethodlearn
()
gifAnimation/src/GifEncoder.java:727
↓ 1 callersMethodmap
(int b, int g, int r)
gifAnimation/src/GifEncoder.java:805
↓ 1 callersMethodprocess
()
gifAnimation/src/GifEncoder.java:871
↓ 1 callersMethodreadGraphicControlExt
Reads Graphics Control Extension values
gifAnimation/src/GifDecoder.java:645
↓ 1 callersMethodreadImage
Reads next frame image
gifAnimation/src/GifDecoder.java:681
↓ 1 callersMethodreadLSD
Reads Logical Screen Descriptor
gifAnimation/src/GifDecoder.java:740
↓ 1 callersMethodreadNetscapeExt
Reads Netscape extension to obtain iteration count
gifAnimation/src/GifDecoder.java:760
↓ 1 callersMethodresetFrame
Resets frame state for reading next image.
gifAnimation/src/GifDecoder.java:783
↓ 1 callersMethodsetPixels
Creates new frame image from current data (and previous frames as specified by their disposition codes).
gifAnimation/src/GifDecoder.java:193
↓ 1 callersMethodsetQuality
description taken from GifEncoder-class: Sets quality of color quantization (conversion of images to the maximum 256 colors allowed by the GIF specifi
gifAnimation/src/GifMaker.java:101
↓ 1 callersMethodsetSize
Sets the GIF frame size. The default size is the size of the first frame added if this method is not invoked. @param w int frame width. @par
gifAnimation/src/GifEncoder.java:244
↓ 1 callersMethodsetTransparent
(int color)
gifAnimation/src/GifMaker.java:125
↓ 1 callersMethodunbiasnet
()
gifAnimation/src/GifEncoder.java:883
↓ 1 callersMethodwriteGraphicCtrlExt
Writes Graphic Control Extension
gifAnimation/src/GifEncoder.java:378
↓ 1 callersMethodwriteImageDesc
Writes Image Descriptor
gifAnimation/src/GifEncoder.java:409
↓ 1 callersMethodwriteLSD
Writes Logical Screen Descriptor
gifAnimation/src/GifEncoder.java:432
↓ 1 callersMethodwriteNetscapeExt
Writes Netscape application extension to define repeat count.
gifAnimation/src/GifEncoder.java:449
↓ 1 callersMethodwritePixels
Encodes and writes pixel data
gifAnimation/src/GifEncoder.java:474
MethodGif
(PApplet parent, String filename)
gifAnimation/src/Gif.java:56
MethodGifFrame
(BufferedImage im, int del)
gifAnimation/src/GifDecoder.java:135
MethodGifMaker
(PApplet parent, String filename)
gifAnimation/src/GifMaker.java:42
MethodLZWEncoder
(int width, int height, byte[] pixels, int color_depth)
gifAnimation/src/GifEncoder.java:1109
MethodNeuQuant
(byte[] thepic, int len, int sample)
gifAnimation/src/GifEncoder.java:634
MethodaddFrame
Adds next GIF frame. The frame is not written immediately, but is actually deferred until the next frame is received so that timing data can be insert
gifAnimation/src/GifEncoder.java:138
MethodaddFrame
()
gifAnimation/src/GifMaker.java:143
MethodcurrentFrame
()
gifAnimation/src/Gif.java:230
Methoddispose
()
gifAnimation/src/GifMaker.java:61
Methodfinish
Flushes any pending data and closes output file. If writing to an OutputStream, the stream is not closed. @return true if data output closed
gifAnimation/src/GifEncoder.java:178
MethodgetFrameSize
Gets image size. @return GIF image dimensions
gifAnimation/src/GifDecoder.java:296
MethodgetImage
Gets the first (or only) image read. @return BufferedImage containing first frame, or null if none.
gifAnimation/src/GifDecoder.java:175
MethodgetPImages
(PApplet parent, String filename)
gifAnimation/src/Gif.java:152
MethodgetRepeat
()
gifAnimation/src/Gif.java:216
MethodignoreRepeat
()
gifAnimation/src/Gif.java:208
MethodisIgnoringRepeat
()
gifAnimation/src/Gif.java:244
MethodisLooping
()
gifAnimation/src/Gif.java:237
MethodisPlaying
()
gifAnimation/src/Gif.java:223
Methodloop
Begin playing the animation, with repeat.
gifAnimation/src/Gif.java:272
MethodnoLoop
Shut off the repeating loop.
gifAnimation/src/Gif.java:280
Methodpause
Pause the animation at its current frame.
gifAnimation/src/Gif.java:287
Methodplay
Begin playing the animation, with no repeat.
gifAnimation/src/Gif.java:262
Methodrun
()
gifAnimation/src/Gif.java:93
MethodsetDelay
Sets the delay time between each frame, or changes it for subsequent frames (applies to last frame added). @param ms int delay time in milli
gifAnimation/src/GifEncoder.java:80
MethodsetDelay
(int delay)
gifAnimation/src/GifMaker.java:74
MethodsetDispose
Sets the GIF frame disposal code for the last added frame and any subsequent frames. Default is 0 if no transparent color has been set, otherwise 2.
gifAnimation/src/GifEncoder.java:92
MethodsetDispose
(int dispose)
gifAnimation/src/GifMaker.java:86
MethodsetFrameRate
Sets frame rate in frames per second. Equivalent to <code>setDelay(1000/fps)</code>. @param fps float frame rate (frames per second)
gifAnimation/src/GifEncoder.java:213
MethodsetQuality
Sets quality of color quantization (conversion of images to the maximum 256 colors allowed by the GIF specification). Lower values (minimum = 1) produ
gifAnimation/src/GifEncoder.java:229
MethodsetRepeat
Sets the number of times the set of GIF frames should be played. Default is 1; 0 means play indefinitely. Must be invoked before the first image is ad
gifAnimation/src/GifEncoder.java:107
MethodsetRepeat
(int repeat)
gifAnimation/src/GifMaker.java:109
MethodsetSize
(int width, int height)
gifAnimation/src/GifMaker.java:117
MethodsetTransparent
Sets the transparent color for the last added frame and any subsequent frames. Since all colors are subject to modification in the quantization proces
gifAnimation/src/GifEncoder.java:123
Methodversion
()
gifAnimation/src/Gif.java:251