Skip to content

2.0

Compare
Choose a tag to compare
@khalim19 khalim19 released this 28 Jun 05:52

Implemented advanced settings, including the following:

  • export only layers whose names match the file format
  • use file extensions in layer names as file formats
  • use layers with names in [square brackets] as a background for all other layers
  • merge each top-level layer group into one layer
  • permanently save settings in the Export Layers window to a file

For details and more settings, see the "Advanced Settings" section in the readme.

Major code rewrite.

  • Split the file into several separate modules. Written unit tests for most of these modules.
  • Implemented API for plug-in settings for easier management.
  • Implemented layer filtering, making it relatively easy to filter out layers
    according to their attributes, such as visibility (including its parents), name, and more.
  • Misc. code refactoring and cleanup.

Changes to the GUI:

  • Added advanced settings, collapsed by default.
  • The main window now hides when the Export Layers button is clicked. Instead, a small dialog
    with a progress bar and a Stop button is displayed. This is to avoid the file format
    dialog being completely hidden by the main dialog. The Stop button allows the user
    to stop the export prematurely.
  • Progress bar now updates after each successfully exported (or skipped) layer.
  • Added a simple dialog to the Export Layers To menu entry, identical to the small dialog
    in Export Layers when exporting.
  • Overwrite dialog now hides immediately after choosing an option.
  • The order of the "Export Layers" and "Cancel" buttons is now the same as in the Export menu.
  • Renamed "Chooose output directory" to "Save in folder:" to be consistent with the Export menu.
  • In the overwrite dialog, renamed "Overwrite" to "Replace" to be consistent with the Export menu.
  • Swapped the order of the "Skip" and "Replace" buttons in the overwrite dialog.
  • Upon opening the main window, the focus is now set on the File Format field.
  • Error messages are now in bold text. Removed the icon next to the error message
    as it didn't look good and didn't serve much purpose.
  • Added tooltips to most of the settings.
  • Added mnemonics (keyboard shortcuts) to the following components in the dialog (use Alt + the key after the underscore to activate the component, e.g. Alt+E for the "Export Layers" button):
    • _Export Layers
    • _Cancel
    • _Advanced Settings
  • If the plug-in encounters an unexpected error, an error dialog (with details) is displayed.
  • Adjusted spacing, padding and border width of components.

Bug fixes:

  • Fixed JPG export of invisible layers.
  • Fixed OpenRaster (.ora) export. No idea how it got fixed, though. Most likely it's the same issue as JPG.
  • Fixed a bug that prevented the user from exporting layers to a root directory on Windows (e.g. "C:").
  • Layer names can no longer have characters ":" or "", which could cause problems on Windows.
    These will now only be allowed in directory names.
  • If "Treat layer groups as directories" setting is enabled and
    if the names of layers and layer groups have the same name after removing characters
    not allowed in filenames or directory names, they are now made unique properly.

Misc. changes:

  • Layers exported with the "raw" file format will now have the ".raw" file extension added.