Search found 13 matches

by FlashFan
2011-09-12T06:00:18-07:00
Forum: Magick++
Topic: Jpeg to Tiff - Bug?
Replies: 8
Views: 46429

Re: Jpeg to Tiff - Bug?

Does the line starting with DELEGATES list IJG or something other than jpeg?
No it doesn't. The output is:

Code: Select all

DELEGATES     bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
How can I install IJG?
by FlashFan
2011-08-25T09:59:21-07:00
Forum: Magick++
Topic: Jpeg to Tiff - Bug?
Replies: 8
Views: 46429

Re: Jpeg to Tiff - Bug?

Lines 53+54 of file tiffconf.h:

Code: Select all

/* Support JPEG compression (requires IJG JPEG library) */
#define JPEG_SUPPORT 1
So it seems to be enabled. But what can it be then?
by FlashFan
2011-08-25T09:25:05-07:00
Forum: Magick++
Topic: Jpeg to Tiff - Bug?
Replies: 8
Views: 46429

Re: Jpeg to Tiff - Bug?

Yes I think that, too! But how can I do this?
by FlashFan
2011-08-25T07:46:42-07:00
Forum: Magick++
Topic: Jpeg to Tiff - Bug?
Replies: 8
Views: 46429

Re: Jpeg to Tiff - Bug?

Hi guys! I still couldn´t solve this problem. But I have some new info: I catched the exception that was thrown and got it´s message text. It is: CompressionNotSupported `JPEG' @ error/tiff.c/WriteTIFFImage/2611 This exception is thrown at line 2611. It is thrown when the following condition is ture: ...
by FlashFan
2011-08-18T05:09:35-07:00
Forum: Magick++
Topic: Jpeg to Tiff - Bug?
Replies: 8
Views: 46429

Jpeg to Tiff - Bug?

Hi guys I try to achieve a tiff with an embedded JPEG compressed image. Using convert.exe the following works: convert 1.jpg -compress JPEG 1.tiff When I try to do this usng Magick++ it doesn´t. Image img("1.jpg"); img.compressType(JPEGCompression); img.write("1.tiff"); I get the following exception: ...
by FlashFan
2011-08-09T06:37:40-07:00
Forum: Magick++
Topic: Multipage Tiff with different Image types
Replies: 0
Views: 8133

Multipage Tiff with different Image types

Hi guys

Is it possible to create a Multipage Tiff, where every page is of another type?
For example grayscale, RGB, fax?
Is this even allowed by the TIFF format?

Thanks for your help!
by FlashFan
2011-02-07T07:37:02-07:00
Forum: Users
Topic: CMYK to RGB image - Magick++
Replies: 0
Views: 4046

CMYK to RGB image - Magick++

Hi

I need to convert an image that uses CMYK colors to an RGB image. For this, I need to use an ICC profile. Can someone give me an example how I could do this?

Thanks!
by FlashFan
2011-01-31T06:50:25-07:00
Forum: Users
Topic: Load ICC-Profile based image
Replies: 0
Views: 3885

Load ICC-Profile based image

Hi guys I have raw image-data of 26'099'520 Bytes which is the result of 2480 width* 3508 height * 3 components per pixel. I have also a ICC-Profile which belongs to the image. How can I correctly load such an image in Magick++? I'm currently using the following code: Image * image = new Image ...
by FlashFan
2011-01-26T09:28:26-07:00
Forum: Users
Topic: Strange behavior with CMYK JPEGs in PDFs
Replies: 0
Views: 3898

Strange behavior with CMYK JPEGs in PDFs

Hi guys I'm developing a program wich extracts and modifies images in PDF files. I´ve noticed a strange behavior when I try to load JPEG images with CMYK colorspaces and try to convert them to RGB images. The colors are completely wrong. To change the colorspace I simply saved the image as a BMP ...
by FlashFan
2011-01-20T07:18:49-07:00
Forum: Users
Topic: Reading a CMYK JPEG image
Replies: 1
Views: 4756

Reading a CMYK JPEG image

Hi guys

My program extracts images out of pdf files. There are many JPEG-images in pdf's that have cmyk colorspaces.
How can I read the image that the colors are correct?
by FlashFan
2011-01-19T09:15:16-07:00
Forum: Users
Topic: Read raw images - Magick++
Replies: 0
Views: 4153

Read raw images - Magick++

Hi guys

I try to read raw images, but don´t know how.

For example I have an image with 300x200 pixels and a RGB colorspace, which means there are 3 bytes per pixel.
How can I read such an image?

Thanks for your help!
by FlashFan
2011-01-05T03:52:33-07:00
Forum: Users
Topic: Reading CCITT encoded images
Replies: 0
Views: 3662

Reading CCITT encoded images

Hi guys Im trying to read CCITT encoded images out of PDF files. I've found a method called "compressType", which is to get/set the CompressionType of the image. But how can I use this, and how can i tell Magick++ the other parameters of the CCITT compression? My code is the following: blob = new ...