Search found 31 matches

by jsanterre
2015-05-08T10:20:23-07:00
Forum: Magick++
Topic: Read/Write portion of image from/to file
Replies: 11
Views: 18725

Re: Read/Write portion of image from/to file

Hi there,

Here are news about how things are going... As described above, we decided to let IM handle the swapping. We had a round of beta releases and now, the product is finally out. It seems that all of our users are happy with the way IM handle big images!

Thanks!

Julie
by jsanterre
2015-05-08T09:41:48-07:00
Forum: Users
Topic: Wrting tiff image with bit depth of 32 or 64
Replies: 6
Views: 5112

Re: Wrting tiff image with bit depth of 32 or 64

Hi! I'm very happy to hear that it is in fact possible to write 32-bit tiff images. That's awesome. I'm sorry for my late answer -- I forgot to subscribe to this topic... I was in fact able to write a 32-bit tiff file from the command line using the command snibgo posted earlier. But unfortunately, ...
by jsanterre
2015-05-08T08:19:16-07:00
Forum: Bugs
Topic: conversion to RLE coded tga fails
Replies: 15
Views: 28810

Re: conversion to RLE coded tga fails

Hi there, Thanks for your quick answer! I will PM you two versions of a very simple image (so the RLE encoding will be very efficient) in just a few minutes. The file squares.tga is uncompressed with file size of 1407KB and squares_rle.tga is RLE-compressed with file size of 31KB. I looked at both i...
by jsanterre
2015-05-07T11:21:07-07:00
Forum: Bugs
Topic: conversion to RLE coded tga fails
Replies: 15
Views: 28810

Re: conversion to RLE coded tga fails

That's awesome! I did update to the latest IM (6.9.1) yesterday and tried this out. Writing RLE TGA files is working like a charm, I'm very happy. (I was relying on a RLE-Compressed TGA writer that I wrote myself, up to now...) Now, I would need to detect when I read a TGA file if the TGA is compres...
by jsanterre
2015-04-29T06:44:23-07:00
Forum: Users
Topic: Wrting tiff image with bit depth of 32 or 64
Replies: 6
Views: 5112

Re: Wrting tiff image with bit depth of 32 or 64

Ah! That's what I was afraid of... Thank you so much for your quick answer!

Julie
by jsanterre
2015-04-29T06:04:29-07:00
Forum: Users
Topic: Wrting tiff image with bit depth of 32 or 64
Replies: 6
Views: 5112

Wrting tiff image with bit depth of 32 or 64

Hi, I'm using Magick++ (Q16) on Windows 7. I would like to find a way to write tiff image with bit depth of 32 or even 64. Here's a portion of my C++ code: Magick::Image m_image; m_image.type( Magick::TrueColorMatteType ); m_image.fileName( filename ); m_image.depth( bitDepth ); m_image.defineValue(...
by jsanterre
2014-12-03T14:03:39-07:00
Forum: Magick++
Topic: Read/Write portion of image from/to file
Replies: 11
Views: 18725

Re: Read/Write portion of image from/to file

For now, we are planning on letting IM handle the swapping. Then, if we have performance issue, we will look into more fancy stuff.

I will keep you posted!

Again, thanks for your help!

Julie
by jsanterre
2014-12-03T11:56:29-07:00
Forum: Magick++
Topic: Read/Write portion of image from/to file
Replies: 11
Views: 18725

Re: Read/Write portion of image from/to file

Thanks to both of you! Your answers helped me a lot!

Julie
by jsanterre
2014-12-02T10:53:05-07:00
Forum: Magick++
Topic: Read/Write portion of image from/to file
Replies: 11
Views: 18725

Re: Read/Write portion of image from/to file

Here's what we are planning to do: Read the entire big image using Image img = read( filename ) and then have access to the desired portion of the file using img.getConstPixels(). (The way we understand things is that ImageMagick itself should take care of swapping to disk when it's out of memory.) ...
by jsanterre
2014-12-02T08:18:41-07:00
Forum: Magick++
Topic: Read/Write portion of image from/to file
Replies: 11
Views: 18725

Re: Read/Write portion of image from/to file

Thank you very much. :) So I tried to make this work with the Image Cache Methods (see the docs at http://www.imagemagick.org/Magick++/Image.html#Raw%20Image%20Pixel%20Access) but did not succeed yet. In particular, I have been trying to use the functions setPixels() and readPixels(). If I understan...
by jsanterre
2014-12-01T13:45:40-07:00
Forum: Magick++
Topic: Read/Write portion of image from/to file
Replies: 11
Views: 18725

Re: Read/Write portion of image from/to file

Thank you very much for your answer. It was very interesting. However, I don't think this approach would work for me. The problem is that I'm developing a software written in C++ and I can't assume the users of my software will have imagemagick installed on their own machine... That's why I would ne...
by jsanterre
2014-12-01T12:04:37-07:00
Forum: Magick++
Topic: Read/Write portion of image from/to file
Replies: 11
Views: 18725

Read/Write portion of image from/to file

Hi everyone! I need to process really big images in C++. So I would like to read only a portion of an image from file using Magick++ API, process it, and write that portion back to file. I would process each chunk in turn until the entire image has been processed. Is there a way to read and write on...
by jsanterre
2014-07-15T06:23:24-07:00
Forum: Developers
Topic: Unicode support for DrawableText()
Replies: 2
Views: 3758

Re: Unicode support for DrawableText()

Thank you very much for your help Dirk! It turned out that I just needed to make sure the font I'm using support Unicode Characters. (From Dirk: "setting the font to 'Arial-Unicode-MS'") I thought I should post the solution to my problem here so someone else could benefit from this. Thank ...
by jsanterre
2014-06-26T07:57:23-07:00
Forum: Developers
Topic: Unicode support for DrawableText()
Replies: 2
Views: 3758

Unicode support for DrawableText()

Hi! I need to create a DrawableText() object in C++ that support Unicode characters. I noticed that the constructor for DrawableText() is taking an encoding as an optional parameter. I tried the following: converting a wstring to an utf8 encoded string, pass this string as the text parameter and pas...
by jsanterre
2014-05-09T15:16:44-07:00
Forum: Bugs
Topic: conversion to RLE coded tga fails
Replies: 15
Views: 28810

Re: conversion to RLE coded tga fails

Many thanks for your quick answer!