Search found 7 matches

by Hitachi1961
2017-03-14T14:21:26-07:00
Forum: MagickWand
Topic: JPEG encoding w/ JFIF encoding
Replies: 2
Views: 24138

JPEG encoding w/ JFIF encoding

OS/Platform: OSX 10.12.3 IM Version: stable 7.0.5-0 Does imagemagick implement/provide an api or any helpers to use standard JFIF encoding when compressing/encoding a JPEG image? Based on this wikipedia article my understanding of the steps involved are the following: Optionally convert the colors i...
by Hitachi1961
2017-03-10T11:56:44-07:00
Forum: MagickWand
Topic: How to edit pixels but maintain file size
Replies: 13
Views: 35231

Re: How to edit pixels but maintain file size

Very interesting. I learned something today about image compression, thanks guys.
by Hitachi1961
2017-03-09T18:33:28-07:00
Forum: MagickWand
Topic: How to edit pixels but maintain file size
Replies: 13
Views: 35231

Re: How to edit pixels but maintain file size

So basically image reading/writing between formats, programs, and platforms is variable and imagemagick can't maintain the exact quality/format because of this? Is this correct?
by Hitachi1961
2017-03-09T18:22:44-07:00
Forum: MagickWand
Topic: How to edit pixels but maintain file size
Replies: 13
Views: 35231

Re: How to edit pixels but maintain file size

Yes, I kept the output image formats the same. I basically ran the program after compiling it with:

Code: Select all

./contrast cat.png output.png
by Hitachi1961
2017-03-09T16:54:34-07:00
Forum: MagickWand
Topic: How to edit pixels but maintain file size
Replies: 13
Views: 35231

Re: How to edit pixels but maintain file size

Updated the original post to include details.
by Hitachi1961
2017-03-09T16:28:52-07:00
Forum: MagickWand
Topic: How to edit pixels but maintain file size
Replies: 13
Views: 35231

Re: How to edit pixels but maintain file size

I ran the contrast sample code on a couple different image formats and the file sizes would always change. Correct me if I'm wrong but doesn't the same just change the pixel rgb colors, so the file size shouldn't change? It might be worth noting that the sample contrast code isn't updated to work fo...
by Hitachi1961
2017-03-09T15:45:38-07:00
Forum: MagickWand
Topic: How to edit pixels but maintain file size
Replies: 13
Views: 35231

How to edit pixels but maintain file size

Platform: OSX 10.12.3 IM Version: stable 7.0.5-0 Is it possible to edit an images pixels directly in such a way where when writing out the image the file size is the same size in bytes? I wouldn't be adding or removing pixels or changing the image format/colorspace, I would only change the pixels c...