Search found 22 matches

by mrmattnc
2014-06-17T08:05:12-07:00
Forum: Consulting
Topic: Help Setting Up ImageMagick
Replies: 2
Views: 10904

Re: Help Setting Up ImageMagick

HOW TO ROLL YOUR OWN AMI: Login over SSH //update your packages before we start sudo yum update //get the yum build-essentials equivalent for compiling and other fun things sudo yum groupinstall "Development Tools" //add other format support sudo yum install libpng-devel libwebp-devel freetype-deve...
by mrmattnc
2014-03-20T17:00:56-07:00
Forum: Users
Topic: PDFs
Replies: 4
Views: 4306

Re: PDFs

Snibgo is on point as usual. The only thing I might try would be -units PixelsPerInch. Other problems I have had in the past were with color conversion. The threshold command can force it back down to just black and white. You would need this if the output prints with a grayish background (like you ...
by mrmattnc
2014-02-25T12:13:46-07:00
Forum: Users
Topic: Conditional Removal
Replies: 5
Views: 4905

Re: Conditional Removal

I'll put this here, in addition to the PM sent earlier. You need to supply the full path in the parameters at the top of the script. I intentionally wrote it this way so it would be portable for you and any other users needing a similar tool. It can also be easily expanded for other functions - it's...
by mrmattnc
2014-02-20T22:46:09-07:00
Forum: Users
Topic: Conditional Removal
Replies: 5
Views: 4905

Re: Conditional Removal

The "rm" commands are 'remove'. So what you want to do is comment out (by adding a # to the front of the line) or deleting the line so the command doesn't exist anymore. There are multiple lines where these occur. rm "$processed_dir/$line" rm "$original_dir/$line" becomes rm "$processed_dir/$line" #...
by mrmattnc
2014-02-20T07:43:32-07:00
Forum: Users
Topic: Conditional Removal
Replies: 5
Views: 4905

Re: Conditional Removal

What you have is the makings of a good bash script. Imagemagick will provide some of the nuts and bolts, but really it sounds like your problem is just getting it to run. Here is an untested framework that should provide you with the commands you need. These should be put in a file with the .sh exte...
by mrmattnc
2014-02-13T07:40:07-07:00
Forum: Users
Topic: Crop to 16:9 and zoom with maximal quality
Replies: 16
Views: 14253

Re: Crop to 16:9 and zoom with maximal quality

If speed is more important than quality, then add -filter point and use viewport cropping. You can do fx calculations in the viewport crop convert in.png -background somecolor -virtual-pixel background -define distort:viewport=WxH+X+Y -filter point -distort SRT scale,0 out.png see http://www.imagem...
by mrmattnc
2014-02-11T16:51:47-07:00
Forum: Users
Topic: Crop to 16:9 and zoom with maximal quality
Replies: 16
Views: 14253

Re: Crop to 16:9 and zoom with maximal quality

I hadn't noticed a speed difference between 0.94 and 1.06 scaling, and a quick test (v6.8.8-0 on Windows 8.1) suggests there is none. But I'm usually working with video frames rather than making a video from stills, so your trick of zooming to the maximum, then then scaling up for each frame, would...
by mrmattnc
2014-02-11T15:54:30-07:00
Forum: Kudos and Rants
Topic: [Suggestion] Free Image Hosting for This Forum
Replies: 3
Views: 27051

Re: [Suggestion] Free Image Hosting for This Forum

I have been considering writing a google chrome or firefox extension to alleviate this exact problem here and on another site I use. I'm prepping for an international trip at the moment, but it could be something worth investigating if people are interested.
by mrmattnc
2014-02-11T14:51:44-07:00
Forum: Users
Topic: Crop to 16:9 and zoom with maximal quality
Replies: 16
Views: 14253

Re: Crop to 16:9 and zoom with maximal quality

I do this every day! The basics are well covered from other replies (snibgo is a ninja!) but here are some caveats I've ran into in the past snibgo is absolutely right SRT is the way to go because it allows what I'm going to call sub-pixel movements. For instance if you wanted to go from a height of...
by mrmattnc
2014-02-10T12:48:03-07:00
Forum: PerlMagick
Topic: How do I strip out PNG metadata using PerlMagick?
Replies: 9
Views: 19414

Re: How do I strip out PNG metadata using PerlMagick?

Glad you got it fixed!

If there's one thing I've discovered it's that IM and particularly PerlMagick have strange things happen on occasion that don't make much sense. Luckily there's almost always more than one way to skin a cat. :D
by mrmattnc
2014-02-06T08:46:56-07:00
Forum: Users
Topic: Resize failing for transparent images on IM 6.5.4-7
Replies: 10
Views: 7410

Re: Resize failing for transparent images on IM 6.5.4-7

PSD files are proprietary to Adobe - which would be my guess as to their varied support. For what it's worth I would use the internal MPC format for intermediate steps to avoid compressing multiple times using multiple algorithms, or consider using an API and keeping everything in-memory. Lastly, yo...
by mrmattnc
2014-02-06T08:32:14-07:00
Forum: Users
Topic: Hosting with Imagemagick v6.5.5-8 or greater
Replies: 4
Views: 5361

Re: Hosting with Imagemagick v6.5.5-8 or greater

There are a variety of ways to solve your problem! Ideas that come to mind: > Move Hosts: In most cases you'll have to upgrade over shared hosting to a VPS or dedicated box. ---Shared hosting, as the name implies, uses one machine to service hundreds or thousands of websites. But because it's 1 OS u...
by mrmattnc
2014-02-05T08:39:46-07:00
Forum: Users
Topic: Convert PNG32 to Jpeg2000,reduce size and keep transparency?
Replies: 7
Views: 6986

Re: Convert PNG32 to Jpeg2000,reduce size and keep transpare

I don't think new versions list delegates when you run -version.

Try convert -list Format.

Glad you got it fixed :D
by mrmattnc
2014-02-05T08:25:52-07:00
Forum: PerlMagick
Topic: How do I strip out PNG metadata using PerlMagick?
Replies: 9
Views: 19414

Re: How do I strip out PNG metadata using PerlMagick?

Try this... My brief understanding is that gamma correction in the browser is being interpreted using the png:gAMA setting -- which you can locate using identify -verbose <image>. It's as if the image is encoded with a gamma setting, then an additional gamma correction is written in with the file th...
by mrmattnc
2014-02-04T13:13:33-07:00
Forum: Users
Topic: Convert PNG32 to Jpeg2000,reduce size and keep transparency?
Replies: 7
Views: 6986

Re: Convert PNG32 to Jpeg2000,reduce size and keep transpare

can you post a sample image?

Is size reduction with transparency intact your only goal? Could we reduce the color depth, or strip metadata to save size? What is your target size?

Does Jpeg2000 support transparency? Normal jpg does not?