2007-08-01, 12:03 | Link #1 |
fansubber
|
Image to ASS v0.5
Name: Image to ASS Draw commands
Version: 0.1 Created by Diclonius85 from Diclonius Subs Description: convert an image (bmp/gif/jpg/png) to pure ASS draw commands. Download: http://diclonius.ro-anime.net/image2ass.zip To do: - improve the interface - support image transparency - improve the generated code Check it out and let me hear your opinions about it. The program is released AS IS without any warranty (might release the source code later) Last edited by pitty; 2007-08-08 at 04:24. |
2007-08-02, 14:57 | Link #5 | |
Junior Member
Join Date: Aug 2007
|
Well, finally managed to make some time to register here.
Quote:
The motion is going to be a bit tedious, but I made the program to be able to include an image in the subtitles without much work. If you need more effects for the image, there's always other types of programs that can add images to the video stream with different effects. I'm going to try to optimize the code a bit to decrease the ammount of code generated. I'm open to suggestions on how to improve the convertor. Last edited by diclonius85; 2007-08-02 at 15:00. Reason: complete the reply post |
|
2007-08-06, 13:47 | Link #10 | |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
Quote:
what the christ made you think of this analogy anyway edit: technically you can do very very interesting things with Animate() in Avisynth as well :>
__________________
|
|
2007-08-07, 02:56 | Link #14 | |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
Quote:
edit: this program isn't really all that useful for transformation fun either, because it just directly translates pixel-for-pixel and each line in the input gets its own ASS line in the output, which gives you all kinds of funky limitations... so like Sylf said, I don't really see the advantage of using this instead of just overlaying with Avisynth. For most karaoke purposes you want rather simplistic shapes anyway (especially since this program doesn't support transparency yet and can't tell the difference between a shape and its background), and those are easier to do with an ASS drawing program, of which there is at least one.
__________________
Last edited by TheFluff; 2007-08-07 at 03:08. |
|
2007-08-07, 16:38 | Link #16 |
Junior Member
Join Date: Aug 2007
|
Version 0.5 is out.
Here's the list of changes: * Improved code. * Added binary transparency support. * Changed code generation to one pixel per line. * Added alpha transparency support (based on bitmap mask file). * Added PNG alpha transparency support. * Changed style name from "Default" to "Image". * Interface redesigned. Download: http://diclonius.ro-anime.net/image2ass.zip (506 KB) The program is released AS IS without any warranty. |
2007-08-08, 10:01 | Link #19 | |
Junior Member
Join Date: Aug 2007
|
Quote:
TheFluff is right. JPEG's use a lossy compression format that introduces quite a bit of artifacts to the image. I will see if I can include a Tolerance value to compensate for these artifacts. |
|
2007-08-10, 12:38 | Link #20 |
Senior Member
Fansubber
Join Date: Jul 2004
|
Now that's an idea...
When I first looked at this thread yesterday, I was wondering why would anyone do from png/bmp/jpg to .ass; most people will try to convert from svg/emf/wmf/ai to .ass draw commands since they're all in vector. But, I noticed that from rasterized image to .ass may not be a bad idea if it works. I saw people mentioning about using it in karaoke, but I don't think it's feasible in karaoke at all. In .ass typesetting, we sometimes do need to extend horrible signs, signs with gradients and shades. It's extremely difficult to do so without a proper package. Bitmap has been very easy to do with the help of photoshop, paintshop pro, or gimp, thanks to layer duplication, clone stamp techniques, and basic paintbrush. I conducted one test on this program with my already-made sign in photoshop with aftereffects (ae is used to precisely zoom the sign). This sign is zooming, so the program won't be feasible in this area, unless you can make .ass on a sequent of images, but then why bother when you can overlay the video instead? :P So it seems to be more applicable to static signs. The following is an image with its png (alpha-enabled) overlay: (It's taken from an unreleased Froth-Bite's Sky Girls episode since I have that image on my screen) (How I made that image? I duplicate the area and paint it through - a one minute job. I normally apply noise-reduction filters to the original video to enhance the overlay. And yes, tolerance-level will help reducing the size of the .ass file greatly.) Spoiler for Some Screenshot:
Your program produces: (I'll get to the details soon) Spoiler for Some Screenshot:
The correct overlay: Spoiler for Some Screenshot:
--- It looks pretty good, except the .ass file is like a bit bigger than 5MB heh. It appears that the program didn't handle the transparencies accurately (or maybe it's vsfilter's fault). Can you care to check it? Thanks. I probably have some transparencies layered there because I want the plate blended in correctly, but other than that, keep up the good work for .ass typesetters. -pichu. Last edited by pichu; 2007-09-04 at 13:59. |
|
|