IM version is ImageMagick-6.8.4-Q16
following is the command for conversion using c#
string arguments = string.Format(@"-density 300 -depth 8 -quality 96 {0} {1} {2} ", "\"" + ImagePath.ToString() + "\"", "-resize \"" + htwd + "\" ", "\"" + filename + "\"");
where ImagePath is souce image i.e ...
Search found 2 matches
- 2013-10-21T22:47:13-07:00
- Forum: Developers
- Topic: pdf to jpg conversion
- Replies: 2
- Views: 6029
- 2013-10-21T04:58:31-07:00
- Forum: Developers
- Topic: pdf to jpg conversion
- Replies: 2
- Views: 6029
pdf to jpg conversion
Hi
i am converting pdf to jpg using IM.
i works fine if pdf contains an image and simulteneously resizing same jpg.
1)if by chance pdf does not conatins any image then complete black area is displayed in .jpg file.
2) in second case if pdf not contains image and if we remove -resize command then ...
i am converting pdf to jpg using IM.
i works fine if pdf contains an image and simulteneously resizing same jpg.
1)if by chance pdf does not conatins any image then complete black area is displayed in .jpg file.
2) in second case if pdf not contains image and if we remove -resize command then ...