Difference between revisions of "User talk:Matusm"

From SpiralKnights

Jump to: navigation, search
(Hey, i just forgot how to do APNGs with transparency... lol)
(Hey, i just forgot how to do APNGs with transparency... lol: Reply.)
Line 38: Line 38:
 
:I actually tried really hard to avoid Photoshop and make most of my images only using free tools. :D For animations, I mostly used FFmpeg and APNG Assembler, but never Photoshop. So I did a quick search about how would you do it in Photoshop and found something about Render Video option and then using APNG Assembler ([https://graphicdesign.stackexchange.com/questions/609/photoshop-animated-png]), but I don't know if it'll help. I can help you make animations the way how I made mine if you want, but it's basically just converting video to frames with corners, deleting some images from beginning and end to make a smooth loop and turning this loop into an animation. I'm Nitronicx in game, but I log in usually just for a few minutes, so you probably won't catch me online. (The signature thing is <nowiki>--~~~~</nowiki>, there's also button for it in the editor.) --[[User:Matusm|Matusm]] ([[User talk:Matusm|talk]]) 23:15, 26 February 2020 (UTC)
 
:I actually tried really hard to avoid Photoshop and make most of my images only using free tools. :D For animations, I mostly used FFmpeg and APNG Assembler, but never Photoshop. So I did a quick search about how would you do it in Photoshop and found something about Render Video option and then using APNG Assembler ([https://graphicdesign.stackexchange.com/questions/609/photoshop-animated-png]), but I don't know if it'll help. I can help you make animations the way how I made mine if you want, but it's basically just converting video to frames with corners, deleting some images from beginning and end to make a smooth loop and turning this loop into an animation. I'm Nitronicx in game, but I log in usually just for a few minutes, so you probably won't catch me online. (The signature thing is <nowiki>--~~~~</nowiki>, there's also button for it in the editor.) --[[User:Matusm|Matusm]] ([[User talk:Matusm|talk]]) 23:15, 26 February 2020 (UTC)
 
::Hey, well, since i have it i use it haha, but if its not ur method its okay. I would like to learn with free tool cuz i already have some footage (like, 3 or 5 tooltips) oh and i use Fraps to capture. I tried with PSD (photoshop) and it does give me the frames, problem is it doesnt add the cut in the corners and while in the program, it shows. Technically speaking i can cut the corners in each frame but im sure theres an easy way for that just that i dont know yet haha. When u have the time i would love to learn how :D Thx! --[[User:HikaruFer|HikaruFer]] ([[User talk:HikaruFer|talk]]) 06:25, 27 February 2020 (UTC)
 
::Hey, well, since i have it i use it haha, but if its not ur method its okay. I would like to learn with free tool cuz i already have some footage (like, 3 or 5 tooltips) oh and i use Fraps to capture. I tried with PSD (photoshop) and it does give me the frames, problem is it doesnt add the cut in the corners and while in the program, it shows. Technically speaking i can cut the corners in each frame but im sure theres an easy way for that just that i dont know yet haha. When u have the time i would love to learn how :D Thx! --[[User:HikaruFer|HikaruFer]] ([[User talk:HikaruFer|talk]]) 06:25, 27 February 2020 (UTC)
 +
 +
:::First I use FFmpeg to turn video into pictures. I can also tell it to add the transparent corners right away by using a greyscale image which describes the alpha channel (it's white image with black corners, black pixels will be made transparent). The command for that is <code>ffmpeg -hide_banner -i video.avi -i alpha.png -lavfi 'crop=201:222:9:151, alphamerge' folder/%3d.png</code>. The arguments for crop are crop=width:height:x:y, x and y are coordinates of the top-left-most pixel of the cropped image. %3d means the pictures will be named 001.png, 002.png, etc.
 +
:::Then I simply use image viewer for comparing the first and last frames of the would-be animation and delete surplus frames.
 +
:::Once I'm satisfied with the loop, I use APNG Assembler to make the animation. There are both GUI and CLI versions of the program.
 +
:::When the animation is too big, I remove some frames (or rather copy them to another folder, so I can keep the original loop). I made a small script for that. However when I had to use framerate below 20 (or 15?), I rather used [https://tinypng.com/ tinypng.com]. TinyPNG limits the number of colors to 256, but with such low framerates, more smoothness is in my opinion worth the not very noticable loss in colors.
 +
:::You can also make animation stright from the video with FFmpeg. The command for that would be <code>ffmpeg -hide_banner -i video.avi -stream_loop -1 -i alpha.png -lavfi 'crop=201:222:9:151, alphamerge' -plays 0 -r 20 -ss 3 -t 5.33 animation.apng</code>. -plays is the number of loops (0 = infinite), -r is the resulting framerate, -ss means how many seconds should be skipped from the start, -t is the length of the animation. However, the animation may have some flaws. I noticed that FFmpeg duplicates the first frame of the animation (if I remember correctly). Also in some newer version the -stream_loop argument stopped working properly. That's why I use APNG Assembler instead of FFmpeg for making the animation. Maybe these problems are fixed now, but I stuck with the old version I first downloaded.
 +
:::There's also a program called TweakPNG. It displays structure of your PNG files. May be useful sometimes.
 +
:::By the way, it's been quite a long time since my last SK animated tooltip. :D
 +
:::But still, I'd like to help you with your Photoshop. I still have it, too. What specifically is the problem or what are you doing that doesn't work? When I used to crop images in Photoshop, I realized I can use the "Create clipping mask" option to apply the cropped corners to all other images. I also looked at that "Render video" option. I had to change the alpha channel setting at the bottom to get images with transparency. --[[User:Matusm|Matusm]] ([[User talk:Matusm|talk]]) 23:20, 28 February 2020 (UTC)

Revision as of 23:20, 28 February 2020

Thank you...

Thank you for using my information I added, but modifying it to be more relevant on the darkfang shield page, and also thank you for the work you do in updating the wiki. --Cdst16 (talk) 00:20, 24 April 2017 (PDT)

Heh, you're welcome! I just tried to fix what I knew I was able to fix. I'm quite new here. I've started with editing here at the New Year's Eve, but I've managed to notice few things here and there, since. I mostly copy and paste from already existing pages. So if I ever attempt to create a page with my own words, feel free to check it and rewrite what's needed. It's very likely that it will have some flaws as English isn't my mother tongue. You've probably noticed it already. :) --Matusm (talk) 04:40, 24 April 2017 (PDT)

Thanks for all of your work on the wiki. For example, just when I think, "Golden Slime Casino needs updating to mention the current event," you've already done it. Jdavis (talk) 13:06, 25 August 2018 (UTC)

You're welcome! I try to prioritize edits regarding recent changes/events and then move back in time in a sense. --Matusm (talk) 18:10, 27 August 2018 (UTC)

Squall Caller images

We can now create the Squall Caller pages; I made most of them but don't know how to create the equipped and icon images. I noticed you added them for the other Raider items, so it would be nice if you could add them for the Caller quickly too so Cronus can re-blacklist it. --Snarbylord (talk) 13:17, 26 July 2017 (PDT)

I was just about to upload them. I've got tooltip image from earlier and icon was uploaded straight from game files. Thank you for your work. --Matusm (talk) 13:25, 26 July 2017 (PDT)

Re: Inconsistent linking to Hunter costumes

Hello! The issue I'm trying to solve regards broken links when attempting to Direct Link to a Hunter Costume that was only available in the Hunter 2016 box. You can see a few red links for Round Helm, Flak Jacket, ect. here: Usable-Hunter Prize Box icon.png Hunter Prize Box. This issue is also preventing the Hunter category from displaying Hunter 2016 only costumes. --CassiusBWiki (talk) 19:19, 23 December 2018 (UTC)

That's probably because there are some links that weren't created yet. You see, links on Prize Box pages lead to a page named after that item (for example, clicking on Hunter Round Helm leads to Hunter Round Helm page). These pages are usually redirects to a collective page for similar items (like Round Helm), so you immediatelly end up on that page instead. I believe this is the one step you have missed. If you have been linked through a redirect, it is always mentioned at the top of the destination page.
Also, categories right now are quite broken. Only categorized files show up in the list, among other issues. Normal pages used to show on the category pages, but after Grey Havens updated the wiki software, new pages won't add themselves there, so only old pages remain in the list. A nice example would be this category, which was created after the update: Category:Tawny-Themed. So while it's true the costumes aren't there because of the missing links, they won't appear there even after they will be created. --Matusm (talk) 20:00, 23 December 2018 (UTC)
Thanks for pointing out the redirect pages, for some reason I was under the impression they were handled dynamically. A pity about the categories however. I wonder why I was able to get Garnet Node Container on the Garnet Category page, but nothing else. Bad job queue handling? Oh well, nothing us users can do about it. --CassiusBWiki (talk) 01:08, 24 December 2018 (UTC)
Images can be added to categories for some reason. That's why accessories work. Still, it needs some time to show up I think. --Matusm (talk) 10:33, 24 December 2018 (UTC)

Owlite box stuffs

Hey, I happen to have Dusky Owlite Wand and Dusky Owlite Pipe. Hit me up in-game if you wanna get pics of em. Silverhawkes (talk) 11:01, 13 February 2019 (UTC)


Hey, i just forgot how to do APNGs with transparency... lol

I remember i did it with photoshop, i took the video, cut it in photoshop with the little transparencies in the corners but the "save" part its what i forgot... I dont remember using APNG anime maker either. I tried but when im saving the bunch of imgs to put in the APNGanimemaker they dont have transparency sooooo i dunno what to do. I wanted to help from time to time with items if i happen to find them in the AH. U can text me in game too, im Jade-Hikaru [I even forgot how to put the time-mark when leaving a msg here haha so im doing it manually] HikaruFer

I actually tried really hard to avoid Photoshop and make most of my images only using free tools. :D For animations, I mostly used FFmpeg and APNG Assembler, but never Photoshop. So I did a quick search about how would you do it in Photoshop and found something about Render Video option and then using APNG Assembler ([1]), but I don't know if it'll help. I can help you make animations the way how I made mine if you want, but it's basically just converting video to frames with corners, deleting some images from beginning and end to make a smooth loop and turning this loop into an animation. I'm Nitronicx in game, but I log in usually just for a few minutes, so you probably won't catch me online. (The signature thing is --~~~~, there's also button for it in the editor.) --Matusm (talk) 23:15, 26 February 2020 (UTC)
Hey, well, since i have it i use it haha, but if its not ur method its okay. I would like to learn with free tool cuz i already have some footage (like, 3 or 5 tooltips) oh and i use Fraps to capture. I tried with PSD (photoshop) and it does give me the frames, problem is it doesnt add the cut in the corners and while in the program, it shows. Technically speaking i can cut the corners in each frame but im sure theres an easy way for that just that i dont know yet haha. When u have the time i would love to learn how :D Thx! --HikaruFer (talk) 06:25, 27 February 2020 (UTC)
First I use FFmpeg to turn video into pictures. I can also tell it to add the transparent corners right away by using a greyscale image which describes the alpha channel (it's white image with black corners, black pixels will be made transparent). The command for that is ffmpeg -hide_banner -i video.avi -i alpha.png -lavfi 'crop=201:222:9:151, alphamerge' folder/%3d.png. The arguments for crop are crop=width:height:x:y, x and y are coordinates of the top-left-most pixel of the cropped image. %3d means the pictures will be named 001.png, 002.png, etc.
Then I simply use image viewer for comparing the first and last frames of the would-be animation and delete surplus frames.
Once I'm satisfied with the loop, I use APNG Assembler to make the animation. There are both GUI and CLI versions of the program.
When the animation is too big, I remove some frames (or rather copy them to another folder, so I can keep the original loop). I made a small script for that. However when I had to use framerate below 20 (or 15?), I rather used tinypng.com. TinyPNG limits the number of colors to 256, but with such low framerates, more smoothness is in my opinion worth the not very noticable loss in colors.
You can also make animation stright from the video with FFmpeg. The command for that would be ffmpeg -hide_banner -i video.avi -stream_loop -1 -i alpha.png -lavfi 'crop=201:222:9:151, alphamerge' -plays 0 -r 20 -ss 3 -t 5.33 animation.apng. -plays is the number of loops (0 = infinite), -r is the resulting framerate, -ss means how many seconds should be skipped from the start, -t is the length of the animation. However, the animation may have some flaws. I noticed that FFmpeg duplicates the first frame of the animation (if I remember correctly). Also in some newer version the -stream_loop argument stopped working properly. That's why I use APNG Assembler instead of FFmpeg for making the animation. Maybe these problems are fixed now, but I stuck with the old version I first downloaded.
There's also a program called TweakPNG. It displays structure of your PNG files. May be useful sometimes.
By the way, it's been quite a long time since my last SK animated tooltip. :D
But still, I'd like to help you with your Photoshop. I still have it, too. What specifically is the problem or what are you doing that doesn't work? When I used to crop images in Photoshop, I realized I can use the "Create clipping mask" option to apply the cropped corners to all other images. I also looked at that "Render video" option. I had to change the alpha channel setting at the bottom to get images with transparency. --Matusm (talk) 23:20, 28 February 2020 (UTC)
Personal tools