Logan King
Logan King
``` magick -limit memory 1MB -limit map 1MB -define registry:temporary-path=/home/username/temp androm.psb androm.png ``` Finally worked. It took between 10 minutes and 90 minutes. I am not sure exactly how long....
@fmw42 For reference. Here is the result of running ``magick -list policy`` ``` Path: /etc/ImageMagick-7/policy.xml Policy: Undefined rights: None Path: [built-in] Policy: Undefined rights: None ```
> As I said, you must have a private policy in addition to the one in /etc. List that one as I did above in my second command > >...
What do you think of this @Byron? Is this a good idea or is there a better way to do this?
Faking color differences would be unnecessary if #7 was implemented.
@FlareFlo I agree, that would be nice. Currently all characters are rendered as 2 pixels high and 1 pixel wide. This was inspired by the scroll bar to the right...
> Maybe chunking should be used to avoid very large file transactions Like dividing the output image into multiple smaller output images? It could be done, but you'd need a...
@Byron Do you have any idea how we can convert `ImageBuffer` outputted by `render()` into a `DynamicImage` so that we can call [`resize()`](https://docs.rs/image/latest/image/enum.DynamicImage.html#method.resize) on it? I seem to be having...
Actually Rust Enums can only contain types, not traits. So It doesn't look like it's possible for a `DynamicImage` to contain `ImageBuffer`, since `DynamicImage` are enums. My silly mistake.
Maybe I can copy all the methods in `DynamicImage` and expose a `DynamicMmapImage` type. I'll look into it. The only previous Mmap discussion I can find: https://github.com/sloganking/codevis/pull/11#issuecomment-1237329666 `MmapMut`'s documentation seems...