Krita: Sequence import dialog
OpenPublic

Mock History

Current Revision

Mock Description

The source file can be found here: {F35604}

dkazakov created Krita: Sequence import dialog.Dec 16 2015, 12:01 PM
dkazakov added a project: Krita: Animation.
dkazakov added subscribers: jounip, scottpetrovic.
scottpetrovic added a comment.EditedDec 16 2015, 2:41 PM

I am going to provide some requirements and information about this since this is just a picture...let me know if I am incorrect.

Purpose: Allow someone to select a sequence of images from their computer and import the images to frames in the timeline docker.

Goal: Be able to edit, paint over, or reference an existing animation that exists outside of Krita.

Import functionality

  1. Select what files you want to import from your computer.
  2. See all of the files that are to be imported.
  3. Select how the images should be ordered after importing: Ascending or Descending
  4. Select how the image files are named: Alphabetically or Numerically
  5. Set how many frames per second the original animation was
  6. Steps label -- This needs clarification

Questions

  1. Is this import functionality going to create a new document, or import an image sequence into an existing document.
  2. When you select how the files are ordered and named, will the result be shown on list of files that are shown?
  3. What are the available image formats to import? Anything that Krita already supports?
  4. Where will the files be imported to? Whatever your active layer is?
  5. What is the purpose of setting the FPS? Is this the original animation. If so, is this part of some conversion?
  6. What is the Step label? Why does this matter?

Hi, @scottpetrovic!

I'll try to answer your questions here:

  1. Is this import functionality going to create a new document, or import an image sequence into an existing document.

The user should be able to import an image sequence as a single layer of an existing document.

We should do it in two stages:

  1. Import as a usual Paint Layer. It is quite a common case when people generate the clip in some other software and then finish/fix the images in Krita. This part should be done before 3.0 branching.
  2. Import as a File Layer. Some background is imported as a file layer and the external files are kept linked to the .kra file. I'm not sure about the immediate necessity of this feature atm. We can implement it for 3.1 or later.
  1. When you select how the files are ordered and named, will the result be shown on list of files that are shown?

Yes, the sorted files are listed in the list.

Ordering:

  1. Alphabetical:
    • file_1.png
    • file_10.png
    • file_11.png
    • file_2.png
    • file_20.png
    • file_3.png
    • file_4.png
  2. Numerical (default option):
    • file_1.png
    • file_2.png
    • file_3.png
    • file_4.png
    • file_10.png
    • file_11.png
    • file_20.png

Basically, Krita should support any naming possible. The name should be split into subwords, and then sort according to each word sequentially.

  1. What are the available image formats to import? Anything that Krita already supports?

Yes, anything Krita supports. If the source file is multilayered only a flattened copy is loaded into the frame.

  1. Where will the files be imported to? Whatever your active layer is?

New layer is created above the active one, like the rest of the new layers in Krita.

  1. What is the purpose of setting the FPS? Is this the original animation. If so, is this part of some conversion?
  2. What is the Step label? Why does this matter?

The frames can be loaded into every Nth frame of the layer, where N is the 'Step' value, e.g. when the imported frames are just keyframes and the user should draw inbetween frames. That might be desirable to swap the controls for Step and FPS. Then the user will be able to choose 'Step' with a spin box, and the resulting FPS will be calculated automatically in the label.