Skip to main content
sorak44953991
Participant
September 21, 2019
Question

how to automatically draw a pixelar drawing in adobe animate?

  • September 21, 2019
  • 2 replies
  • 487 views

Hello everyone. I need your help urgently.
I am working with a gif that I have divided into several png images, the gif drawing is a pixelar color motif. I need to redraw the drawing with some adobe animate tool (either pen or pencil) to edit it again, how could I do this automatically without re-drawing each image manually?

    This topic has been closed for replies.

    2 replies

    chenjil43641795
    Legend
    October 8, 2019

    Batch processing is cumbersome.

     

    You can create a new JSFL file.

    Copy the code there.

    and then save it as a JSFL file.

     

    After importing the picture, use the command ---- run the command -- select this JSFL

     

    I can't speak English, I don't know you understand?

    AN still lacks the functionality required for animation.Most need batch ingress capabilities.

    If quality requirements.Convert a picture.

    AI is recommended---Stroke---3 colors.and then copy to an

     

     

     

     

    function traceMultipleFrames()
    {
    	
    	var Color=Number(window.prompt("Color", "100"));
    	var Min=Number(window.prompt("Min", "1"));
    	var C1=Color
    	var M1=Min
    	var doc = fl.getDocumentDOM();
    	
    	if (!doc)
    		return;
    	
    	var timeline = doc.getTimeline();	
    
    	for (var i = 0, total = timeline.frameCount; i < total; i++)
    	{
    		timeline.setSelectedFrames(timeline.currentFrame, timeline.currentFrame + 1, true);
    		
    		if (doc.selection[0].instanceType != "bitmap")
    		{
    			timeline.currentFrame++;
    			continue;
    		}		
    		
    		doc.traceBitmap(C1,M1,'normal','normal');
    		timeline.currentFrame++;
    	}
    }
    
    traceMultipleFrames();
    	

     

     

     

    Joseph Labrecque
    Community Expert
    Community Expert
    September 22, 2019

    If it's a GIF to begin with... did you convert the GIF frames to PNG? You could do a Trace Bitmap depending on the original images and what look you are going for... can you share a sample image?