Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
Move the .dst migration to schema 38 and describe DST records in our own words
KnifeLemon3add90e51528
diff --git a/docs/ENGINES.md b/docs/ENGINES.mdindex 294d5d9b..7add95c5 100644--- a/docs/ENGINES.md+++ b/docs/ENGINES.md@@ -1397,9 +1397,10 @@ format, and FFmpeg reads what the file holds, so a `.dat` with no video in it fasubtitle engine (ASS and WebVTT extraction cost 11 so SRT is the hub).- The first video stream (cover pictures excluded) is converted. Video to video keeps every audio track (languages,commentary), each copied where the target takes its codec or encoded on its own, with its language tag; FLV and DV- hold one and keep the first. Video to audio takes the first. Files without sound still convert to video. Title, artist and other tags and chapters are kept, album art too for MP3, M4A, M4B and- FLAC. Portrait phone videos are turned upright. Odd sizes are evened out, frame rates that MPEG-2/MXF/MPEG-4 part 2- cannot store are converted, and channels WMA or AMR cannot hold are mixed down.+ hold one and keep the first. Video to audio takes the first. Files without sound still convert to video. Title, artist+ and other tags and chapters are kept, album art too for MP3, M4A, M4B and FLAC. Portrait phone videos are turned+ upright. Odd sizes are evened out, frame rates that MPEG-2/MXF/MPEG-4 part 2 cannot store are converted, and channels+ WMA or AMR cannot hold are mixed down.- Progress comes from `-progress` (position ÷ duration from ffprobe); the GIF palette pass reports per-frame stats ofa discarded copy of its frames. Cancelling kills the process tree, waits (up to 10 seconds) until it has exited anddeletes the partial output. There is no time limit, but FFmpeg is stopped when it reports nothing for 10 minutes.diff --git a/src/Filee.Engines/Vector/DstEmbroidery.cs b/src/Filee.Engines/Vector/DstEmbroidery.csindex 5b73b7cd..6018af69 100644--- a/src/Filee.Engines/Vector/DstEmbroidery.cs+++ b/src/Filee.Engines/Vector/DstEmbroidery.cs@@ -1,8 +1,9 @@// Tajima DST embroidery designs (issue #397) as SVG: the stitches as lines, a colour per thread, for the vector engine// to render to PNG, JPG or PDF. A DST file is a 512-byte text header ("LA:" name, stitch count, extents) and 3-byte-// stitch records. Each record moves the needle by up to ±121 in X and Y (0.1 mm units), the bits standing for ±1, ±3,-// ±9, ±27 and ±81, and is a stitch, a jump, a colour change, a sequin-mode switch or the end (the same bits as-// pyembroidery's DstReader). Threads have no colours in DST, so the colour changes cycle through a fixed palette.+// stitch records. Each record moves the needle by up to ±121 in X and Y (0.1 mm units): byte 0 holds the ±1 and ±9+// bits of both axes, byte 1 the ±3 and ±27 bits, byte 2 the ±81 bits and, in its top two bits, what the record is (a+// stitch, a jump, a colour change or a sequin-mode switch; 0xF3 there ends the design). Threads have no colours in DST,+// so the colour changes cycle through a fixed palette.using System.Globalization;using System.Text;diff --git a/tests/Filee.Core.Tests/DstFormatTests.cs b/tests/Filee.Core.Tests/DstFormatTests.csindex 8f8ce2c0..331d2f26 100644--- a/tests/Filee.Core.Tests/DstFormatTests.cs+++ b/tests/Filee.Core.Tests/DstFormatTests.cs@@ -17,20 +17,20 @@ public class DstFormatTests}[Fact]- public void Version_32_vector_donuts_learn_it_without_taking_a_custom_claim()+ public void Version_37_vector_donuts_learn_it_without_taking_a_custom_claim(){var presets = BuiltInData.CreatePresets();var profiles = BuiltInData.CreateProfiles();foreach (var profile in profiles)profile.Extensions.Remove("dst");- Assert.True(SettingsMigrations.ApplyToLibrary(32, presets, profiles));+ Assert.True(SettingsMigrations.ApplyToLibrary(37, presets, profiles));Assert.Contains("dst", profiles.Single(p => p.Id == "vector").Extensions);profiles = BuiltInData.CreateProfiles();foreach (var profile in profiles)profile.Extensions.Remove("dst");profiles.Insert(0, new ToolbarProfile { Id = "my-cad", Name = "Sheet sets", Extensions = ["dst"] });- SettingsMigrations.ApplyToLibrary(32, presets, profiles);+ SettingsMigrations.ApplyToLibrary(37, presets, profiles);Assert.DoesNotContain("dst", profiles.Single(p => p.Id == "vector").Extensions);}}