Skip to content

ImageMagick generates improper output images #6

Closed

Description

@DigneshGoyal

Below is the command used .
convert.exe input.jpg -intent relative -sample 500x375 -quality 95 -auto-orient -strip -output.jpg
please check the generated output file which is not proper.

input

Activity

  1. dlemstra commented on Jun 9, 2015

    @dlemstra
    Member

    I assume you meant 'output.jpg' instead of '-output.jpg'. Which version of ImageMagick are you using and what is your operating system? I am unable to reproduce your problem with the latest beta.

  2. DigneshGoyal commented on Jun 9, 2015

    @DigneshGoyal
    Author

    Version of Image magick used ImageMagick-6.8.0-Q16
    OS :- Windows 7 Enterprise

  3. DigneshGoyal commented on Jun 9, 2015

    @DigneshGoyal
    Author

    attached is generated output file
    output

  4. dlemstra commented on Jun 9, 2015

    @dlemstra
    Member

    Can you clarify whats wrong with it? If it is the quality I would suggest you use -resize instead of -sample.

  5. DigneshGoyal commented on Jun 9, 2015

    @DigneshGoyal
    Author

    The attached output generated by the image magick is pixelated.
    I also tried using -resize instead of -sample but still the output is not proper.please compare the output with the original input file attached
    outputs

  6. dlemstra commented on Jun 9, 2015

    @dlemstra
    Member

    Can you post the output of convert -version ?

  7. DigneshGoyal commented on Jun 9, 2015

    @DigneshGoyal
    Author

    Version: ImageMagick 6.8.0-5 2012-11-03 Q16 http://www.imagemagick.org
    Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
    Features: OpenMP

  8. dlemstra commented on Jun 9, 2015

    @dlemstra
    Member

    Are you building from source? I get the following output image:
    output

  9. DigneshGoyal commented on Jun 9, 2015

    @DigneshGoyal
    Author

    No .I have installed ImageMagick software using installer.

  10. dlemstra commented on Jun 9, 2015

    @dlemstra
    Member

    Can you upgrade to 6.9.1-4? Sorry I did not notice you are not using the latest version.

  11. DigneshGoyal commented on Jun 9, 2015

    @DigneshGoyal
    Author

    If the issue gets resolved in 6.9.1-4 i will upgrade.
    One more issue what i am facing with imagemagick is when the same image is of CMYK model then generated output consists of white background.Is there any way to preserve the same color/background using some options.
    test

  12. dlemstra commented on Jun 9, 2015

    @dlemstra
    Member

    Can you upgrade to 6.9.1-4 first to try to see if that resolves this issue?

    And if you can still reproduce the CMYK problem with that version then please start a new issue for that.

  13. DigneshGoyal commented on Jun 9, 2015

    @DigneshGoyal
    Author

    The latest version of IM resolves the issue when transformation is done from jpg to jpg.
    But it fails from psd to jpg.
    I cannot attach the image as file is >10MB.
    Please advice the next steps.

  14. dlemstra commented on Jun 9, 2015

    @dlemstra
    Member

    Can you put the image on something like dropbox / onedrive and add the link in a new issue? I will close this one because the original issue has been resolved.

  15. DigneshGoyal commented on Jun 9, 2015

    @DigneshGoyal
    Author

    Ok Thank you much for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions