GIF Toolkit

Developed or developing a new product in PureBasic? Tell the world about it.
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: GIF Toolkit

Post by JHPJHP »

Hi Kwai chang caine,
Kwai chang caine wrote:Sincerely thanks for this great compliment...
Well-deserved.

--------------------------------------------------------------

Updated:
- filmstrip completed
- optimized parts of the code
- squashed a couple bugs

Pending:
- Extract Frames
- Animate Frames
- GIF Details
- Create Spritesheet
Last edited by JHPJHP on Thu Mar 01, 2018 3:14 pm, edited 4 times in total.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: GIF Toolkit

Post by walbus »

It would surely be good if the sheets were compatible to the BF sheets
This would considerably expand the applicability
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: GIF Toolkit

Post by JHPJHP »

Hi walbus,
It would surely be good if the sheets were compatible to the BF sheets
The spritesheet feature will be fairly generic; planned settings...
- include all frames or selected frames (allows for reordering)
- resize frames width or height (no distortion)
- offset x-axis and y-axis (frame clipping)
- number of rows or columns (other is calculated)
- transparency layer (color / no color)

------------------------------------------------------

Updated:
- Extract Frames completed
- optimized parts of the code
- squashed a couple bugs

Pending:
- Animate Frames
- GIF Details
- Create Spritesheet

NB*: While the application is cross-platform, it is currently only formatted for Windows.
Last edited by JHPJHP on Mon Feb 19, 2018 12:25 am, edited 2 times in total.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: GIF Toolkit

Post by walbus »

I see what you mean
Last edited by walbus on Wed Mar 28, 2018 11:21 pm, edited 1 time in total.
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: GIF Toolkit

Post by davido »

@JHPJHP,
Sorry to go off topic, but...
@walbus,
That is an impressive translator you have found. Thank you. :D
DE AA EB
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: GIF Toolkit

Post by JHPJHP »

Status:
- Extract Frames completed
- Animate Frames completed
- Create Spritesheet completed
- GIF Details completed

Pending:
- Advanced Settings (Animate Frames / Create Spritesheet)

NOTES:
- double-click the main GIF Thumbnail to open in original size
-- use the arrow keys or spacebar to set a static frame
- double-click inside the List Icon Gadget to return back the default folder / loaded file
- Transparent Color button / first Custom Color, returns the animation back to true transparency
Last edited by JHPJHP on Sat Feb 24, 2018 10:59 am, edited 1 time in total.
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: GIF Toolkit

Post by JHPJHP »

Updated:
- fixed a problem with the Disposal Method algorithm
- squashed a couple bugs
- optimized parts of the code

NB*: All GIFs tested opened without error using the latest version of the Toolkit; please post a link to any GIF not displaying correctly.
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: GIF Toolkit

Post by JHPJHP »

Updated:
- squashed a couple bugs
- optimized parts of the code

Status:
- Extract Frames completed
- Animate Frames completed
-- Advanced Settings completed
- Create Spritesheet completed
-- Advanced Settings completed
- GIF Details completed
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: GIF Toolkit

Post by JHPJHP »

Updated:
- fix a problem with the Extract Frames and Create Spritesheet features
- includes a couple enhancements

Animate Frames -- Advanced Settings
1. Access to some settings for single-frame GIF files.
-- if used on an animated GIF, only the first frame is included in the new file
-- use the Extract Frames feature to create a folder of GIF frames
2. The User[InputFlag] setting is not respected by most browsers
-- the large viewer (double-click thumbnail player) will pause the animation if the User[InputFlag] is set
3. Buttons...
-- File: reset all settings
-- Others: copy values from the corresponding green fields to the fields below

Create Spritesheet -- Advanced Settings
1. Frame clipping; each individual frame can be clipped using separate settings.
2. The filmstrip thumbnail viewer will show changes to a frame in real-time.
3. Buttons...
-- Frame: reset all settings
-- Others: copy values from the corresponding green fields to the fields below
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: GIF Toolkit

Post by JHPJHP »

Updated:
- fixed a couple bugs
- started a simple image editor
-- double-click filmstrip after loading GIF to open window

The image editor will include options for adding layered images, text, and shapes; to be used with the Extract (PNG) Frames and Create Spritesheet features.

NB*: If I ever get around to finishing the LZW-GIF encoding algorithm, the editor could also be used for modifying animated GIFs.
Last edited by JHPJHP on Sat Mar 03, 2018 4:05 am, edited 1 time in total.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: GIF Toolkit

Post by walbus »

Hi
Please look and create with the sheets a (BF compatible) sheet info

Defacto,
the ability to access the frame data of a sheet automatically simplifies handling significant
Without such functionality, the handling of Sprite sheets is annoying and time-consuming
Last edited by walbus on Wed Mar 28, 2018 11:22 pm, edited 1 time in total.
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: GIF Toolkit

Post by JHPJHP »

Hi walbus,
walbus wrote:...
Please are so kind and create with the sheets a BF compatible sheet info
You can simple use the creating code from the PB Sprite Tool
...
Once I finish the image editor, I will look take a look at your Sprite Tool.
Last edited by JHPJHP on Tue Mar 06, 2018 6:46 am, edited 1 time in total.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: GIF Toolkit

Post by walbus »

OK
Last edited by walbus on Wed Mar 28, 2018 11:23 pm, edited 1 time in total.
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: GIF Toolkit

Post by JHPJHP »

Image editor has been updated; still a work in progress.
- after a GIF is loaded, double-click a filmstrip frame to open the editor
- hold down the CTRL key while pressing the arrow keys to move between frames

-------------------------------------------------------------------

Image editor has been updated; added drawing directly onto the image.
- Add Image, Add Text, Draw Circle, Draw Square, Draw Line

NOTES
Add Image: If the width is selected from options then the height will be calculated, and vice versa.
Last edited by JHPJHP on Sat Mar 10, 2018 6:17 am, edited 5 times in total.
User avatar
bgeraghty
User
User
Posts: 52
Joined: Wed Apr 02, 2014 12:45 am
Location: irc.ibotched.it:+6697
Contact:

Re: GIF Toolkit

Post by bgeraghty »

Thanks much, this will come in handy


Sent from my iPhone using Tapatalk
SolveMyIssue_() - No QuickHelp available.
Locked