![]()
Now it's time to convert to something I can actually edit in realtime. Okay, everything's been renamed and organized. It would still work that way (the first file for shot002 might be 00185.dng) but it seems kinda funky to me. It still requires me manually dragging and dropping each folder and clicking rename, because if I do a whole shoot (say 10 clips) as a batch, the image numbers increase even when a new shot starts. Right now I'm just doing it with Name Mangler, which automatically derives the folder name from its creation date, and then derives the image file names from the parent folder. Within this, the files would be numbered like:Īnd so on. I've been renaming all my shots so that the folder looks like (for example): I figured I'd make this thread to write about what's working right now and hopefully people can chime in with ways on improving.įirst off, the only way this works is with proper file management and good renaming. #NAME MANGLER SEQUENCE FULL#The full sequence would be this: ast = UglifyJS.parse(code) // compressor needs figure_out_scope too ast.figure_out_scope() compressor = UglifyJS.Compressor() ast = ast.transform(compressor) // need to figure out scope again so mangler works optimally ast.figure_out_scope() ast.compute_char_frequency() ast.mangle_names() // get Ugly code back:) code = ast.print_to_string().I'm trying to figure out a good workflow where I can edit proxies of my 5Dmk2 raw footage and then relink back to the original DNGs for grading in AE at the end. If you also your code, then you want to mangle names after compression, since the compressor might drop unused identifiers, unreachable code etc. ![]() Optionally insert the compute_char_frequency() there to get names that are optimized for GZip compression (names will be generated using the most frequent characters first). Make sure to call figure_out_scope() first, then call mangle_names() on the toplevel node. SYNOPSIS ast = UglifyJS.parse(code) ast.figure_out_scope() ast.compute_char_frequency() ast.mangle_names() code = ast.print_to_string() That's all there is to it. #NAME MANGLER SEQUENCE DRIVER#Driver Reviver License Codeįor example the template engine is affected by this issue (coupled with its author ). UglifyJS cannot detect if you're using the function's name property, however in such code the mangler can potentially break your code. UglifyJS can detect the first two cases and it will disable the mangler automatically in code areas that are poisoned by usage of eval or with.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |