Skip to content

Commit

Permalink
Removed local debugging code.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Dec 11, 2023
1 parent 94ce90e commit faf265a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/views/classes/Magick/IndexView.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { ImageMagick, Channels, Magick, MagickGeometry, EvaluateOperator } from '@imagemagick/magick-wasm'
import { Magick } from '@imagemagick/magick-wasm'
import CodeSample from '@/components/CodeSample.vue'
const delegates = `> '${Magick.delegates}'`;
Expand All @@ -10,11 +10,6 @@ const supportedFormats = Magick.supportedFormats
const description = format.description.replace('\'', '\\\'')
return ` { format: '${format.format}', description: '${description}', supportsReading: ${format.supportsReading}, supportsWriting: ${format.supportsWriting} }`
}).join(",\n");
ImageMagick.read('logo:', image => {
image.evaluate(Channels.Red, new MagickGeometry(0, 0, 100, 295), EvaluateOperator.Set, 0);
console.log(image);
});
</script>

<template>
Expand Down

0 comments on commit faf265a

Please sign in to comment.