public static String createImage(final @NotNull Path path) throws IOException {
        return createImage(ImageIO.read(Files.newInputStream(path)));
    }
@Test
    void testCreateImageWithCorrectSize() {
        mockWrite(ignored -> {
            final String result = assertDoesNotThrow(() -> IOUtil.createImage(mockImage(64, 64)));
            assertTrue(result.startsWith("data:image/png;base64,"));
        });
    }