Search found 12 matches

by nitech
2011-08-10T04:42:18-07:00
Forum: Windows COM+ & Visual Basic
Topic: Convert PDF to JPG using ASP classic
Replies: 19
Views: 111821

Re: Convert PDF to JPG using ASP classic

Hi, I bumped over the solution, which was to run the convert.exe directly instead of using the com-object. The exe is obviously running under some other user restrictions than the com object. Here is the vbs-code: ' Try doing same operation using command line convert.exe Dim wshell Set wshell = Crea...
by nitech
2011-06-01T01:46:43-07:00
Forum: Windows COM+ & Visual Basic
Topic: Convert PDF to JPG using ASP classic
Replies: 19
Views: 111821

Re: Convert PDF to JPG using ASP classic

I don't think I ever found a solution to this.
by nitech
2010-12-03T01:11:08-07:00
Forum: Windows COM+ & Visual Basic
Topic: Convert PDF to JPG using ASP classic
Replies: 19
Views: 111821

Re: Convert PDF to JPG using ASP classic

Does really nobody have an answer to this question? I face the same issue: - Been using Imagemagick on my IIS6-server for many years. Working flawlessly. - Installed Ghostscript - VBS-script and command line can now convert PDF to JPEG or similar - but doesn't work from .ASP-file I suspect Ghostscri...
by nitech
2010-12-01T07:18:52-07:00
Forum: Developers
Topic: Security restriction for converting PDF to JPG in IIS 6.0
Replies: 5
Views: 12679

Re: Security restriction for converting PDF to JPG in IIS 6.

Guys, it's wrong to conculde that Imagemagick doesn't work on IIS6. I've had it working on IIS6 for a long while. However I have problems with ghostscript with imagemagick on IIS7. Trying to find a solution now...
by nitech
2010-11-12T11:50:53-07:00
Forum: Users
Topic: Converting grayscale PNG to TrueColor looses alpha
Replies: 6
Views: 18588

Re: Converting grayscale PNG to TrueColor looses alpha

I tested your code and it too worked. Thanks :-)

Would you say your PNG32:filename does the same as my "-define","png:color-type=6"?
by nitech
2010-11-12T03:19:06-07:00
Forum: Users
Topic: Converting grayscale PNG to TrueColor looses alpha
Replies: 6
Views: 18588

Re: Converting grayscale PNG to TrueColor looses alpha

I found a solution to the problem. Searching the forum, I found a _more verbose_ output for the PNG engine that gave me some details on the original and destination image: identify -verbose -debug coder -log %e "\\..\prod_images\doc_136_1_swf_small.png" identify -verbose -debug coder -log ...
by nitech
2010-11-12T00:39:12-07:00
Forum: Users
Topic: Converting grayscale PNG to TrueColor looses alpha
Replies: 6
Views: 18588

Re: Converting grayscale PNG to TrueColor looses alpha

Sorry, fmw42 - here are the deatils. ImageMagick 6.5.6-1 2009-09-14 Q16 OpenMP I am resizing a high res alpha transparent png to a small one which I then convert to swf using png2swf.exe. The exe says it requires TrueColor png's. I thought the source image was grayscale, but it seems it becomes gray...
by nitech
2010-11-10T16:00:41-07:00
Forum: Users
Topic: Converting grayscale PNG to TrueColor looses alpha
Replies: 6
Views: 18588

Converting grayscale PNG to TrueColor looses alpha

Hi, I've searched the forum in and out and I cannot find a good answer to the following: I use the ImageMagick DLL on Windows and I try to convert a png file from grayscale to truecolor while maintaining the alpha transparency. I've tried various parameters, but the background either becomes gray or...
by nitech
2007-11-27T02:14:52-07:00
Forum: Users
Topic: Annotate with utf-8 problem
Replies: 6
Views: 15477

Re: Annotate with utf-8 problem

I found a way to remove the BOM (or - at least the question mark disappeared when I did so.) Here is the vbscript code: ' Input is Unicode text and filePath is path to the image file we wish to create. First we create a utf-8 file ' named the same as the image file and then we use the utf-8 file as ...
by nitech
2007-11-27T00:40:03-07:00
Forum: Users
Topic: Annotate with utf-8 problem
Replies: 6
Views: 15477

Re: Annotate with utf-8 problem

It's impressive to see what you knowledgeable people find out. I use the ADODB.Stream object to write the file. I guess it won't let me create it without the Byte Order Mark. I also guess this problem must be relevant to most languages that use Unicode encoding. I know this is not a vbScript support...
by nitech
2007-11-25T23:52:59-07:00
Forum: Users
Topic: Annotate with utf-8 problem
Replies: 6
Views: 15477

Re: Annotate with utf-8 problem

Hi Anthony, and thanks for your reply. I thought the same as you, but I can't seem to confirm it. I should of course have provided a link to the input text file that I was using. Here goes: http://www.avento.as/devold/text_images/top_m_283.png.txt By the way, when I create a new UTF-8 text file from...
by nitech
2007-11-23T14:02:54-07:00
Forum: Users
Topic: Annotate with utf-8 problem
Replies: 6
Views: 15477

Annotate with utf-8 problem

Hi, I am trying to annotate an image with utf-8 text (russian) from an external text file. Problem is, I get a leading question mark (?) before the text. http://www.avento.as/devold/text_images/top_m_283.png Any idea why this happens? Any fix? My code (vbscript) is as follows (the writeUnicodeADODB ...