Error combining jp2 files with magick.net

Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
tco95ttocs
Posts: 20
Joined: 2017-08-29T06:37:37-07:00
Authentication code: 1151

Re: Error combining jp2 files with magick.net

Post by tco95ttocs »

i found the problem!
It was the VS-Project itself!

In the "properties" under the point platform i choosed "Any CPU" and the radio-button "prefer 32 bit" was checked!
If je uncheck this button it works!
Same effect comes when choosing "64bit" as platform. This works, but the 32bit platform didn't work.

Crazy thing!

Is this a problem with memoryadressing bitween 32 and 64 bit?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Error combining jp2 files with magick.net

Post by dlemstra »

The amount of memory that you can allocate under a 32 bit process is around 2GB. And you are probably hitting that limit here. The limit for a 64 bit process is much higher.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
tco95ttocs
Posts: 20
Joined: 2017-08-29T06:37:37-07:00
Authentication code: 1151

Re: Error combining jp2 files with magick.net

Post by tco95ttocs »

SO it seems, that for big files its neccessary to youe a 64bit platform!

But now i found another smaller Images which produces the same error!
Is it possible, that you can test it again?
I put them to dropbox.
Post Reply