Sign in to follow this  
Simon Brown

Animated Image 2.4 - AGIF & APNG

Recommended Posts

OK, I figured it out. Still not sure if that makes for a transparent background or just white, but I'm using it on a message board with a white background, so it's a bit of a moot point.

Share this post


Link to post
Share on other sites

Whit this plugin and saving as *.agif, there is only one way to achieve the transparent background, but remember this only applies on a fully transparent background ( that means no semi transparent, don't anti-aliasing or feathering the edges)

Anyways the trick is:

After you done from all your frames, take the Magic Wand and select every part you want it to be transparent ( even if it is appearing as transparent in the layer)and delete it by hitting the Delete button/key on your keyboard, repeat this on all the frames then save the file as *.agif )good luck.

( Important: this should be the most/final/last step, any modification or resizing or any small touch on any layer after this step will ruin the transparency of some frames if not the whole work after saving)

Share this post


Link to post
Share on other sites

Here is a plugin to open and save animated GIFs, one frame into each layer. You will have to rename them to .agif to be imported and rename them after saving (I did this to avoid conflict with the built-in GIF handler). Place this plugin in the FileTypes folder.

Hidden Content:
[reason]Update Log[/reason]

1.3

  • [*:34d4ouf2]Adds support for saving as well.

1.5

  • [*:34d4ouf2]Allows one to select the delay between frames.
    [*:34d4ouf2]Allows selection of number of times to loop.

1.7

  • [*:34d4ouf2]Adds the ability to add APNG support.

Hidden Content:
[reason]How to add APNG support[/reason]

By default, this plugin doesn't support the saving of animated PNGs, but you can add support for them by following these instructions. The plugin doesn't include this command-line tool by default due to its license, which forbids redistribution. Note that to add APNG support you will need the Java runtime v5 or later.

To add support for APNG saving, download the "library/command line" file from this site. Then unzip it, open the "japng" folder and copy "japng.jar" to your "Paint.NET user files" folder. You should now see a new option when saving: APNG. Note that files saved with this FileType should have their extension changed to "PNG."

This plugin uses code written by Rick van den Bosch.

Wait, whenever I insert a picture on each layer and save em to .agif and scave it as .apng it says error.

Share this post


Link to post
Share on other sites

This plugin is great Simon, thank you so much for this. I've been using is mostly for animated PNG so far.

Request: Can you make the delay between frames longer?

I've made an animated PNG that goes through a bunch of photographs, but even using the maximum length for delay between frames, it still goes through way too fast.

Thanks again and keep up the great work!

Share this post


Link to post
Share on other sites

Hi,

I really dont want to sound stupid, but need some help getting this to work.

I have downloaded and unzipped the AnimGIF.dll into my file types folder, the accompanying

SBCommon.dll is/has been in the effects directory and/or the file types directory. But

there is no plugin i can see... And there is no history of plugin load errors in the Utilities menu either....

I just am asking, where do i find the plugin? as it does not appear

in ANY of the menus or sub menus inside PaintNet.

I dont want to waste anybodies time here, but would appreciate some advice.

Thanks

Peter

Share this post


Link to post
Share on other sites

Thanks for that, Yes PaintNet is not running while I install the plugin...

I have just done as you suggest, and have opened the properties dialogue on each file, and selected Unblock.

On running PaintNet again, there's still no change....

Peter

Share this post


Link to post
Share on other sites

This is a file plugin, have you looked in the FILE > SAVE AS... dialog box for a new file type (in the drop-down box below the file name)?

Share this post


Link to post
Share on other sites

I am using version 3.5, the latest one...

I can save work in a lot of formats including .agif...

Are you saying I have to save a file in a certain format 'before the plugin becomes active'?

Share this post


Link to post
Share on other sites
I can save work in a lot of formats including .agif...

Great! Sounds like your problem is solved then.

Just remember, after you save in .agif format, you need to rename the file to .gif in order for it to work.

Share this post


Link to post
Share on other sites

Ok, Thankyou, I apologise for seeming sloooooooow!

I have opened PaintNet, created a multi layered file, and saved it as an agif.

On renaming it to a gif, i can run it in the Quicktime player.

I am still trying to understand..... Is that it?, as on reading this thread,

it seems as if you all are setting frame rates and manipulating several other

things in the image with the 'NEW' plug in.

Its frustrating, I am trying to understand, and I am not used to working with images,

IS the option to save in agif format, NEW..?

I can indeed create animated Gifs, in a multi layered file, and run it in a viewer,

although I have no idea how I can post one here that is playing on the screen as others have done :D .

I am sorry if i have missed the point, and thank you for your patience

Regards

Peter

Share this post


Link to post
Share on other sites

Thankyou Simon,

All is very clear now, I have setup the *.apng file type as well, I believe someone has said the

image quality does not degrade.

I have been using and programming pc's for a long time, casually, and its suprising how 'pidgeon holed'

its possible to get..... :lol:

I never realised that, from what I have read on this thread, gif animation was a 'WOW' breakthrough.

But I now understand, and with the power and flexibility, that is PaintNet, much will be possible.

I normally focus on high performance sequential gearboxes :shock: :P which may explain my complete

mental block! This is all very new to me.

Thanks to all for their invaluable help, its much appreciated

BTW, PaintNet is truely, an astonishing piece of work 8)

Regards

Peter

Share this post


Link to post
Share on other sites

I really like this Plug-in. But I have the image quality problem too. I tried to save as an Apng like what was said here in the posts, but I couldn't find that extension name when I tried to save the picture. Also, I have downloaded Simon's full pack and put it all in the proper place, as well as restarted Paint.net, so that's not the problem. Any suggestions? Thanks!

Share this post


Link to post
Share on other sites

I tried to use this, but the transparent areas of the animated gif came out black.

Did I do something wrong? Or, does the plugin not support transparent areas?

Share this post


Link to post
Share on other sites

Is it somehow possible to change the transparent color for the agif.

What I have noticed that always white is picked as transparent, but now I want to create a transparent gif, with black as the transparent color.

Thanks & Regards

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this