Search found 15 matches

by aamir4774@gmail.com
2019-08-25T12:28:47-07:00
Forum: Users
Topic: Resize images based on their orientation
Replies: 8
Views: 3589

Re: Resize images based on their orientation

Not sure if I can actually share the image with you, but sharing below its properties. Also, one thing I did noticed that the converted jpeg gets saved under a megabit or two when we open it using photoshop and try "save As" option. Format: TIFF (Tagged Image File Format) Mime type: image/tiff Class...
by aamir4774@gmail.com
2019-08-21T10:24:36-07:00
Forum: Users
Topic: Resize images based on their orientation
Replies: 8
Views: 3589

Re: Resize images based on their orientation

Hi Snibgo,

This command didn't helped, the output file size remained somewhat in the similar range to that of we were getting using the earlier command.
by aamir4774@gmail.com
2019-08-21T05:33:08-07:00
Forum: Users
Topic: Resize images based on their orientation
Replies: 8
Views: 3589

Re: Resize images based on their orientation

Snibgo, I'm using the entire command, which I have posted in my recent comment. Do I need to append "-compress" attribute to it? If yes how that can be done along with a quality setting?
by aamir4774@gmail.com
2019-08-18T23:28:24-07:00
Forum: Users
Topic: Resize images based on their orientation
Replies: 8
Views: 3589

Re: Resize images based on their orientation

Thanks Fred, this worked like a charm. My requirement has got a bit changed, the output file should be less than 2Mb and I'm using the below command to do it: convert -quiet -units PixelsPerInch <input> -define jpeg:extent=2048kb -scale 50% -density 72 -resize 2048x2048 <output> This is working fine...
by aamir4774@gmail.com
2019-08-01T15:17:46-07:00
Forum: Users
Topic: Resize images based on their orientation
Replies: 8
Views: 3589

Resize images based on their orientation

Hi ImageMagick Community, I have got a requirement to resize the JPEG, TIFF, EPS and PNG image formats as per their orientation and later convert them to JPEG. I want to know if there's a way using ImageMagick by which we can find if the orientation of the image is "landscape" or "portrait". As the ...
by aamir4774@gmail.com
2019-04-24T18:31:06-07:00
Forum: Users
Topic: Watermarking TIF files gives distorted outputs
Replies: 6
Views: 2714

Re: Watermarking TIF files gives distorted outputs

I tried simplifying the command as below but the output is still the same magick input.tif-set option:wd "%[fx:0.6*w]" \( -background none -size "%[wd]x" -fill white label:"Copyright" -rotate "315" \) -gravity center -geometry +0+25 -compose over -composite output.tif Below is the verbose informatio...
by aamir4774@gmail.com
2019-04-23T18:49:40-07:00
Forum: Users
Topic: Watermarking TIF files gives distorted outputs
Replies: 6
Views: 2714

Re: Watermarking TIF files gives distorted outputs

Yes, it does watermark the output image file, but the watermark doesn't appear in the centre as it should and also the output image looks kind of distorted. Is this the command that needs to be rectified? Sorry for confidential reasons I cannot share the image file, but the common observation is tha...
by aamir4774@gmail.com
2019-04-23T02:23:07-07:00
Forum: Users
Topic: Watermarking TIF files gives distorted outputs
Replies: 6
Views: 2714

Watermarking TIF files gives distorted outputs

I'm trying to watermark .tif files using the below command, for some of the tif files it works fine but for some it an distorted output with a message on console as follows: wrong data type 7 for "RichTIFFIPTC"; tag ignored. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/918. The commad used for ...
by aamir4774@gmail.com
2019-04-22T22:36:01-07:00
Forum: Users
Topic: Watermark Images in java using ImageMagick
Replies: 4
Views: 3080

Re: Watermark Images in java using ImageMagick

Hi @fmw42,

Thanks for your kind help, will look more into the piping feature of ImageMagick and will check how can I integrate it with my requirement. Once again, thanks for the help like always :)
by aamir4774@gmail.com
2019-04-16T09:50:41-07:00
Forum: Users
Topic: Watermark Images in java using ImageMagick
Replies: 4
Views: 3080

Re: Watermark Images in java using ImageMagick

@fmw42 if we pipe the output, is it something that we do not require to store the output file in the repository?
If so can you please explain this with an example
by aamir4774@gmail.com
2019-04-16T02:15:38-07:00
Forum: Users
Topic: Watermark Images in java using ImageMagick
Replies: 4
Views: 3080

Watermark Images in java using ImageMagick

I'm trying to watermark images in java using "ImageMagic's" shell command, passing it java's process builder. This is successfully generating the watermarked image and the output image is getting stored in my repository from where I'm doing the further processing. But I need to implement a workflow ...
by aamir4774@gmail.com
2019-03-12T14:16:06-07:00
Forum: Users
Topic: Resize watermarking text as per Image resolution
Replies: 7
Views: 3190

Re: Resize watermarking text as per Image resolution

Hi fmw42, Thanks for all your help, with the above command I was able to generate the watermark on Animated GIFs. Again Thanks for all your help. Lastly, I had a query to ask, is there a way to generate watermarked images without writing back an output image. Basically, the requirement I mean to spe...
by aamir4774@gmail.com
2019-03-11T13:31:54-07:00
Forum: Users
Topic: Resize watermarking text as per Image resolution
Replies: 7
Views: 3190

Re: Resize watermarking text as per Image resolution

Hi fmw42, Again, Thanks for your valuable help. Yes I'm trying to watermark animated gifs and was getting the error. Tried with the one which you posted in your recent reply and I was able to generate the watermark on GIFs, but I require to have this text placed diagonally with 50% opacity. Tried wi...
by aamir4774@gmail.com
2019-03-08T02:53:49-07:00
Forum: Users
Topic: Resize watermarking text as per Image resolution
Replies: 7
Views: 3190

Re: Resize watermarking text as per Image resolution

Hi fmw42,

Thanks for your quick reply. This query works for all the image file formats except for GIF images, it only gives a Still image (kind of distorted) of GIF without an watermark text on it. Can you please help me in availing it for GIFs as well.
by aamir4774@gmail.com
2019-03-05T23:21:58-07:00
Forum: Users
Topic: Resize watermarking text as per Image resolution
Replies: 7
Views: 3190

Resize watermarking text as per Image resolution

Hi ImageMagick Community, I'm working on watermarking the images using ImageMagick, there's a list of files that I possess with different formats(Tiff, jpeg, gif, bmp) and with different resolutions. Currently, I have specified a static text size but for the images with higher resolution the waterma...