Search found 9 matches

by ZakO12
2018-08-24T12:40:31-07:00
Forum: Users
Topic: Additional JPG compression?
Replies: 10
Views: 9134

Re: Additional JPG compression?

"-interlace JPEG" reduces the file size for me? Source images are JPEGs (saved at 100% quality) I don't have anything better, they have been provided by other companies. magick in.jpg -strip -resize x500 -quality 70 -sampling-factor 4:2:0 out.jpg = 65.6kb magick in.jpg -strip -interlace JPEG -resize ...
by ZakO12
2018-08-24T11:34:09-07:00
Forum: Users
Topic: Additional JPG compression?
Replies: 10
Views: 9134

Re: Additional JPG compression?

It could, but the website explicitly lets you choose what quality level you want so I honestly doubt it is. The image artefacts look almost identical as a 75 quality imagemagick image too, if I turn down the imagemagick quality (i.e. 70) there's more artefacts than the one produced by the website ...
by ZakO12
2018-08-24T10:29:20-07:00
Forum: Users
Topic: Additional JPG compression?
Replies: 10
Views: 9134

Re: Additional JPG compression?

Not sure what tool they use I was just using a website (resizeimage.net). I think I was mistaken about them using ImageMagick though, I ran magick identify -verbose on their output image and assumed because the output said "Version: ImageMagick 7.0.8-10 Q16 x64 2018-08-14" that was the tool their ...
by ZakO12
2018-08-24T09:44:10-07:00
Forum: Users
Topic: Additional JPG compression?
Replies: 10
Views: 9134

Re: Additional JPG compression?

I'm not entirely sure, I'll try out some different tools, magick identify -verbose says their quality is 75, same as mine. Using -sampling-factor 4:2:0 gets me a little bit closer to their file size (70.5kb vs 59.2kb) but it's still quite a significant difference (I'm resizing 750,000 images).
by ZakO12
2018-08-24T09:32:13-07:00
Forum: Users
Topic: Additional JPG compression?
Replies: 10
Views: 9134

Re: Additional JPG compression?

Thanks for the reply, that website is using Imagemagick to process/compress the images too (same version as me) so it seems more to do with what options they're using rather than a libjpeg limitation?
by ZakO12
2018-08-24T08:30:14-07:00
Forum: Users
Topic: Additional JPG compression?
Replies: 10
Views: 9134

Additional JPG compression?

Hi, I need to resize a lot of images so I'm wanting to use the imagemagick command line, previously I've just used a website to do it for me (resizeimage.net). Problem is, the resulting image from imagemagick is significantly larger than if I use the site mentioned above: magick in.jpg -strip ...
by ZakO12
2018-04-13T16:53:03-07:00
Forum: Magick.NET
Topic: Magick.NET slows down over time while processing a large batch of images?
Replies: 8
Views: 22275

Re: Magick.NET slows down over time while processing a large batch of images?

Thanks for your replies dlemstra. @adhoc - ResourceLimits.Memory is in bytes, I just set mine to 100GB (100_000_000_000) which was the lowest I could use to process all my images (although the process itself never went above 150MB usage). Obviously this isn't recommended to do with anything ...
by ZakO12
2018-04-09T04:04:42-07:00
Forum: Magick.NET
Topic: Magick.NET slows down over time while processing a large batch of images?
Replies: 8
Views: 22275

Re: Magick.NET slows down over time while processing a large batch of images?

Hi, thanks for your reply. If I use this image (https://upload.wikimedia.org/wikipedia/commons/4/41/Sunflower_from_Silesia2.jpg) and loop over resizing it: static void Main(string[] args) { var sw = new Stopwatch(); for (int i = 1; i <= 500; i++) { sw.Restart(); using (MagickImage image = new ...
by ZakO12
2018-04-07T12:16:24-07:00
Forum: Magick.NET
Topic: Magick.NET slows down over time while processing a large batch of images?
Replies: 8
Views: 22275

Magick.NET slows down over time while processing a large batch of images?

Hi, I'm using Magick.NET-Q16-AnyCPU (7.4.3) with .NET Core 2.0, need to batch process ~25,000 images, (make square, resize to large/thumb), just using a single thread at the moment: using (MagickImage image = new MagickImage(inputFile)) { image.ColorFuzz = new Percentage(1); image.Trim(); var ...