diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 71ecd11..f6af163 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,12 +4,10 @@
-
-
-
-
-
-
+
+
+
+
@@ -202,15 +200,7 @@
-
-
-
-
- 1719024346455
-
-
-
- 1719024346455
+
@@ -596,7 +586,15 @@
1719488380275
-
+
+
+ 1719488576835
+
+
+
+ 1719488576835
+
+
@@ -617,7 +615,6 @@
-
@@ -642,7 +639,8 @@
-
+
+
diff --git a/src/pages/home/index.tsx b/src/pages/home/index.tsx
index 8aa6f70..d9be29e 100644
--- a/src/pages/home/index.tsx
+++ b/src/pages/home/index.tsx
@@ -22,7 +22,7 @@ export default function Home() {
{getToolsByCategory().map((category) => (
-
+
{
const image = new ImageData(info.width, info.height);
- reader.decodeAndBlitFrameRGBA(k, image.data as any);
+ reader.decodeAndBlitFrameRGBA(k, image.data);
return image;
});
@@ -51,7 +51,6 @@ export default function ChangeSpeed() {
{ loop: 20 }
);
- // Decode the GIF
imageDataArr.forEach((imageData) => {
const palette = [];
const pixels = new Uint8Array(imageData.width * imageData.height);
@@ -81,9 +80,8 @@ export default function ChangeSpeed() {
const delay = newSpeed / 10; // Delay in hundredths of a sec (100 = 1s)
const options: FrameOptions = {
- // @ts-ignore
- palette: new Uint32Array(palette),
- delay: delay
+ palette,
+ delay
};
gif.addFrame(
0,