Quantcast
Channel: magick Discussions Rss Feed
Viewing all 3693 articles
Browse latest View live

New Post: How to draw a transparent rectangle at a specific location, on a specific image?

$
0
0
I missed it the first time but after reading your code again I noticed you did not specify the CompositeOperator. The default is In but you need Over:
img.Composite(backgroundOfWaterMark, 0, img.Height - 20, CompositeOperator.Over);

New Post: How to draw a transparent rectangle at a specific location, on a specific image?

$
0
0
That did the trick. Thanks so much!

PS: Even thought the there is no helpful documentation on Magick.NET, the forum is pretty good with fast reply. :D

New Post: Overwrite iptc profile

$
0
0
I just committed a patch to the ImageMagick repository. This issue will be resolved in the next release of Magick.NET.

New Post: Resize cause an "Attempted to read or write protected memory"

New Post: Resize cause an "Attempted to read or write protected memory"

$
0
0
Thank you very much. This dump contains the information I need to investigate the problem. I will contact you through CodePlex if I need more information.

New Post: Resize cause an "Attempted to read or write protected memory"

$
0
0
I found the problem.

The recent AMD driver (13-12_mobility_win7_win8_64_dd_ccc_whql) has a bug. I installed the old (hp original) and now the code works.

Thank you

New Post: Resize cause an "Attempted to read or write protected memory"

$
0
0
Can you post a link to the bug report? Or is this an unreported bug? I have contacts at AMD that could use your memory dump to fix this. Can you keep the latest dump in your dropbox for a couple of days?

New Post: Change DPI (resolution) but keep same size

$
0
0
Hi,

Thank you for your reply.

I am trying to improve quality of an Image to improve OCR on it.
So I want to increase DPI resolution.
Also I am planning to apply "Median Filter with radius 5".

Any other improvement(s) you can suggest?

Thank you so much,
HITESH.
PPlease consider the environment before printing this e-mail, thank you.





New Post: MagickImage.Write throws MagickCoderWarningException

$
0
0
If I come across this situation as well, should i simply just put my Write into a try/catch in order to get around this? Or is there a more elegant way I should handle this?

Thanks.

New Post: MagickImage.Write throws MagickCoderWarningException

$
0
0
I will publish a new release this week that fixes this problem. You will have to use a try catch for now.

New Post: MagickImage.Write throws MagickCoderWarningException

New Post: MagickImage.Write throws MagickCoderWarningException

New Post: Resize cause an "Attempted to read or write protected memory"

$
0
0
It is undocumented.. I call it "bug", but is a incompatibility.

I have a HP Pavilion dv6-3240ca with 2 video cards:
*AMD M880G with ATI Mobility Radeon HD 4250
*AMD Radeon HD 6370M

And the new 13-12_mobility_win7_win8_64_dd_ccc_whql dont suport switch mode (see this: HP DV6 - Updating ATI video drivers )
Can you keep the latest dump in your dropbox for a couple of days?
Yes.. i can.

New Post: Convert PDF to JPEG Access Denied Error...

$
0
0
When I try to convert a PDF to JPEG, I'm receiving the following error:
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) 

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. 

To grant ASP.NET access to a file, right-click the file in File Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 


[UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))]
   System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) +0
   System.Reflection.Assembly.LoadFile(String path) +178
   ImageMagick.AssemblyHelper..cctor() +9

[TypeInitializationException: The type initializer for 'ImageMagick.AssemblyHelper' threw an exception.]
   ImageMagick.AssemblyHelper.GetType(String name) +28
   ImageMagick.Types..cctor() +25

[TypeInitializationException: The type initializer for 'ImageMagick.Types' threw an exception.]
   ImageMagick.MagickReadSettings..ctor() +28
   ImportReceipts._Default.UploadImage() +1040
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +155
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
I have looked everywhere but could not find a solution. I have changed some permissions on IIS but still having the same problem....

Thanks for any help...

New Post: Convert PDF to JPEG Access Denied Error...

$
0
0
It seems you are not allowed to load an assembly from the temp directory. The AnyCPU version of Magick.NET detects if it needs the x86 or the x64 version of the library and saves that dll to the temp directory. It then tries to load that library but it looks like it is not allowed to do that. Maybe I should add a method that will allow you to specify the folder that is being used for that. Can you contact me through CodePlex so I can send you a development version of Magick.NET that has this new option?

New Post: Convert PDF to JPEG Access Denied Error...

$
0
0
I've used the x-64 version and it worked...

Thanks

New Post: Change DPI (resolution) but keep same size

New Post: MagickImage.Write throws MagickCoderWarningException

$
0
0
Cool. Just did it while specifying Q16-x64. Thanks. Just let me know if you need me to do anything else.

New Post: Thanks for Margick.Net

$
0
0
To All...

I read an article today that made me think about all those Open Source Software (OSS) created everyday.

Many of us just go google what we are looking for to solve our problems, many times find an OSS like Magick.Net which by the way, gives a solution for a big problem... working with images, but many of us don't even imagine what takes to put it together and maintain it.

Spare few minutes to read this article about OSS:
http://www.hanselman.com/blog/OpenSourceIsAThanklessJobWeDoItAnyway.aspx

Thanks for to the people behind Magick.Net and all OSS.

New Post: Overwrite iptc profile

Viewing all 3693 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>