Created attachment 119876 [details] Background is supposed to be green transparent. First frame seems to repeat throughout even though it is not set up this way in my frames. SUMMARY Hello! I have been using Krita for months now and LOVE it. I've done many animations, but only recently have noticed an issue when I render them. The first frame seems to repeat throughout the animation and my backgrounds will not appear. I haven't changed the way I render my animations (gif) STEPS TO REPRODUCE 1. File 2. Render animation 3. Save as video in a gif format OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Its hard to understand what is happening, it looks like some sort of rendering problem. The green to transparent background is not visible, but thatcould be something completely different. Is it possible for you to share the file you are getting the problem with? If you cannot attach it to the report you can link using dropbox or a similar service.
Created attachment 119905 [details] target.gif target.png - Copy.kra <https://drive.google.com/file/d/1Hz7tAEe5TGGizwa0r17RZ8cH_29obzgE/view?usp=drive_web> I have attached 2 files. 1 after rendering (the gif) and the file i originally started. I have done multiple animations before, so my settings haven't changed as far as how I render. I hope this helps! On Tue, May 7, 2019 at 9:47 PM vanyossi <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=407275 > > vanyossi <ghevan@gmail.com> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Resolution|--- |WAITINGFORINFO > Status|REPORTED |NEEDSINFO > CC| |ghevan@gmail.com > > --- Comment #1 from vanyossi <ghevan@gmail.com> --- > Its hard to understand what is happening, it looks like some sort of > rendering > problem. The green to transparent background is not visible, but thatcould > be > something completely different. > > Is it possible for you to share the file you are getting the problem with? > If > you cannot attach it to the report you can link using dropbox or a similar > service. > > -- > You are receiving this mail because: > You reported the bug.
Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information.
Created attachment 119906 [details] Gif animation rendered with ffmpeg Sadly this is a limitiation on gif, ffmpeg and krita at this moment. GIF: does not support 8bit transparency, only 1bit, this means transparency on or off. The image you have uses a very light transparent green which is interpreted as off. FFMEG: git implementation for ffmpeg is designed more on the idea of make gifs out of movies, I thought it maybe a problem on our ffmpeg command, but no matter what I did, working directly with ffmpeg I could not make the gif display correctly from the pngs exported. The correct rendering for your image would be to use a replace frame gif animation, but instead ffmpeg insists in using cumulative, which with a transparent channel makes the previous frames linger on. I was not able to make Dither on ffmpeg work on the transparency channel The closest I was able to get was using this cmd ffmpeg -r 12 -start_number 0 -i frame%04d.png -i palette.png -vcodec gif -lavfi [v][1:v]paletteuse=dither=bayer:bayer_scale=5 -gifflags -offsetting+transdiff -pix_fmt rgba -y render2.gif Krita: AFAIK vanilla krita (no GMiC) has no option to make indexed 8bit images to dither transparency. which makes faking gradient transparency with 1bit alpha channel quite challenging. I attach the gif I obtained (scaled image for faster rendering)
Created attachment 119907 [details] rendered gif in gimp I believe of using the right tool for the right job. If you want to preserve as much as possible th ecurrent look, use gimp: you can dither transparency, and force frames to be in replace mode. Image speed is not as easy to tune. Or, you can adjust your image to the limitations of gif rendering, and render correctly from krita.
closing as this doesn't seem to be a bug in krita. (we could try to tweak the ffmpeg command to add extra options for gif dithering, transdiff and offsetting. but defaults are sane and currently cumulative mode is not possible to change)
Created attachment 119912 [details] attachment-2089-0.html Thank you for your response. I feel like normally that would answer my question, but I guess I am still confused in regards to the transparent background. I removed the green color and left the transparent layer: still no use. So I ended up removing the transparent layer and it works fine. However, all my previous animations have been rendered as gifs *with* transparent backgrounds (no color) without any issue. So, I guess my question is, why is this now an issue where it wasn't before? On Tue, May 7, 2019, 11:47 PM vanyossi <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=407275 > > vanyossi <ghevan@gmail.com> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Status|REPORTED |RESOLVED > Resolution|--- |NOT A BUG > > --- Comment #6 from vanyossi <ghevan@gmail.com> --- > closing as this doesn't seem to be a bug in krita. (we could try to tweak > the > ffmpeg command to add extra options for gif dithering, transdiff and > offsetting. but defaults are sane and currently cumulative mode is not > possible > to change) > > -- > You are receiving this mail because: > You reported the bug.
This is one i rendered last month. Transparent background and no issues. On Wed, May 8, 2019 at 7:25 AM hey may <heymayj1@gmail.com> wrote: > Thank you for your response. I feel like normally that would answer my > question, but I guess I am still confused in regards to the transparent > background. I removed the green color and left the transparent layer: still > no use. So I ended up removing the transparent layer and it works fine. > However, all my previous animations have been rendered as gifs *with* > transparent backgrounds (no color) without any issue. So, I guess my > question is, why is this now an issue where it wasn't before? > > On Tue, May 7, 2019, 11:47 PM vanyossi <bugzilla_noreply@kde.org> wrote: > >> https://bugs.kde.org/show_bug.cgi?id=407275 >> >> vanyossi <ghevan@gmail.com> changed: >> >> What |Removed |Added >> >> ---------------------------------------------------------------------------- >> Status|REPORTED |RESOLVED >> Resolution|--- |NOT A BUG >> >> --- Comment #6 from vanyossi <ghevan@gmail.com> --- >> closing as this doesn't seem to be a bug in krita. (we could try to tweak >> the >> ffmpeg command to add extra options for gif dithering, transdiff and >> offsetting. but defaults are sane and currently cumulative mode is not >> possible >> to change) >> >> -- >> You are receiving this mail because: >> You reported the bug. > >
Could you share the gif you made last month again? it shows the attachment as just text
The person I made this for verified it is transparent and works properly for her. Please let me know if this one doesn't work. I'll have to send a different one from my home computer. Thanks!! On Wed, May 8, 2019, 12:52 PM vanyossi <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=407275 > > --- Comment #9 from vanyossi <ghevan@gmail.com> --- > Could you share the gif you made last month again? it shows the attachment > as > just text > > -- > You are receiving this mail because: > You reported the bug.
Sorry to bother again, but it seems that files attached trough mail don't get uploaded here. Could you try uploading it to google Drive as before and share the link?
Created attachment 119928 [details] attachment-7337-0.html I uploaded this onto my drive to share it with you. I hope it works. If not, then we can just leave it. I have found that I can render with a transparent background if I make a duplicate file of an old animation and just erase the work vs starting a new one from scratch. I guess a sort of loop hole that seems to be working for now. diamondfinal.gif <https://drive.google.com/file/d/1j4pal_MLIw6RiEJCyl4vC3JhVkADXrzr/view?usp=drive_web> On Wed, May 8, 2019 at 11:21 PM vanyossi <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=407275 > > --- Comment #11 from vanyossi <ghevan@gmail.com> --- > Sorry to bother again, but it seems that files attached trough mail don't > get > uploaded here. Could you try uploading it to google Drive as before and > share > the link? > > -- > You are receiving this mail because: > You reported the bug.
Created attachment 119935 [details] giphy.gif On Thu, May 9, 2019 at 7:25 AM hey may <heymayj1@gmail.com> wrote: > I uploaded this onto my drive to share it with you. I hope it works. If > not, then we can just leave it. I have found that I can render with a > transparent background if I make a duplicate file of an old animation and > just erase the work vs starting a new one from scratch. I guess a sort of > loop hole that seems to be working for now. > diamondfinal.gif > <https://drive.google.com/file/d/1j4pal_MLIw6RiEJCyl4vC3JhVkADXrzr/view?usp=drive_web> > > > On Wed, May 8, 2019 at 11:21 PM vanyossi <bugzilla_noreply@kde.org> wrote: > >> https://bugs.kde.org/show_bug.cgi?id=407275 >> >> --- Comment #11 from vanyossi <ghevan@gmail.com> --- >> Sorry to bother again, but it seems that files attached trough mail don't >> get >> uploaded here. Could you try uploading it to google Drive as before and >> share >> the link? >> >> -- >> You are receiving this mail because: >> You reported the bug. > >