Search found 14 matches

by bananas2
2011-08-12T07:34:20-07:00
Forum: Bugs
Topic: [Windows] Can not open/read files with non-asci filenames
Replies: 10
Views: 26011

Re: [Windows] Can not open/read files with non-asci filename

@Jason, Magick, what do you think?
by bananas2
2011-08-10T10:46:33-07:00
Forum: Bugs
Topic: [Windows] Can not open/read files with non-asci filenames
Replies: 10
Views: 26011

Re: [Windows] Can not open/read files with non-asci filename

i think this is simplest and less error prone (as long as linux version uses utf8 argv) way: //change to wmain(int argc, wchar_t **argv) //FYI wmain is not supported by mingw //another way szArglist = CommandLineToArgvW(GetCommandLineW(), &nArgs); //but it seems to have some issues int main(int argc ...
by bananas2
2011-08-10T05:23:52-07:00
Forum: Bugs
Topic: [Windows] Can not open/read files with non-asci filenames
Replies: 10
Views: 26011

Re: [Windows] Can not open/read files with non-asci filename

i agree that wmain is the only right way to go, but it is open source so it was enough for me to support other locales at least with MultiByteToWideChar. Was it really possible to open files (standalone identify and convert) with unicode filename under windows? Command line uses system default ...
by bananas2
2011-08-05T04:18:35-07:00
Forum: Bugs
Topic: [Windows] Can not open/read files with non-asci filenames
Replies: 10
Views: 26011

[Windows] Can not open/read files with non-asci filenames

1. Set windows locale to japanese and try to process some images (png for example) with japanese filename 2. imagemagick will report improper header (due to ReadBlob count 0) This happens because utf8->utf16(widechar) conversion is used, BUT windows does not use utf8 for CLI and imagemagick is not ...
by bananas2
2011-08-05T03:13:24-07:00
Forum: Users
Topic: Failed to open unicode filenames + windows
Replies: 10
Views: 26852

Re: Failed to open unicode filenames + windows

@Anthony, argv -> UTF-8 to UTF-16 -> wfopen -> fail. argv -> MultiByteToWideChar + CP_ACP -> wfopen -> success code: wchars_num = MultiByteToWideChar(CP_ACP , 0 , path , -1, NULL , 0 ); unicode_path=(wchar_t *) AcquireQuantumMemory(wchars_num, sizeof(wchar_t)); MultiByteToWideChar( CP_ACP , 0 , path ...
by bananas2
2011-08-04T05:52:04-07:00
Forum: Users
Topic: Failed to open unicode filenames + windows
Replies: 10
Views: 26852

Re: Failed to open unicode filenames + windows

we have the same problem with latest imagemagick and japanese filenames. i've managed to build and debug identify, i think converting utf-8 to unicode fails for some reason and _wfopen returns 0 then. system win2003, japanese locale --- as identify is console app with main() i assume encoding(code ...
by bananas2
2008-02-16T09:35:43-07:00
Forum: Bugs
Topic: 1-bit bw pict file convert to jpeg
Replies: 5
Views: 16256

Re: 1-bit bw pict file convert to jpeg

@Anthony, pls give us some ideas :)
by bananas2
2008-02-16T09:30:41-07:00
Forum: Bugs
Topic: identify on xml file
Replies: 14
Views: 29962

Re: identify on xml file

is there any way to debug or log creation of temp files? to determine processing of which file caused creation of temp file? only 4 IM processes were killed when hard was full, but there were many small sized files instead few huge (Gb) can you give example file(point url) which cause imageMagick to ...
by bananas2
2008-02-15T09:36:26-07:00
Forum: Bugs
Topic: identify on xml file
Replies: 14
Views: 29962

Re: identify on xml file

customer system: On system with heavy load a lot of temp files are created in very short time. On one system it takes ~5minutes sometimes, until the root filesystem is full, because some temp files are several GB in size. Version: ImageMagick 6.3.5 09/05/07 Q16 probably not xml files cause this ...
by bananas2
2008-02-15T09:22:56-07:00
Forum: Bugs
Topic: identify on xml file
Replies: 14
Views: 29962

Re: identify on xml file

file content build.xml <?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2007 Medsea Business Solutions S.L. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache ...
by bananas2
2008-02-15T04:02:16-07:00
Forum: Bugs
Topic: identify on xml file
Replies: 14
Views: 29962

identify on xml file

sometimes our system runs identify on files to check their type. everything is ok, except xml files (doesnt depend on file extension eg xml, inx...): identify -verbose /disk03/volume03/32_HAZ_Harke_03.xml identify: Must specify image size `/tmp/magick-XX6jrUmW'. and temp file is never deleted. os ...
by bananas2
2008-02-14T06:53:54-07:00
Forum: Developers
Topic: help! some imagemagick problems i met
Replies: 3
Views: 10571

Re: help! some imagemagick problems i met

On system with heavy load a lot of temp files are created in very short time. On
one system it takes ~5minutes sometimes, until the root filesystem is full,
because some temp files are several GB in size.

still not resolved? sometimes we kill IM process, but..

Version: ImageMagick 6.3.5 09/05/07 Q16
by bananas2
2008-02-12T16:38:50-07:00
Forum: Bugs
Topic: 1-bit bw pict file convert to jpeg
Replies: 5
Views: 16256

Re: 1-bit bw pict file convert to jpeg

thanks for reply.

i also tried -opaque and -transparent options and got white image again.
i dont know much about .pict format, so its not clear for me is this file broken or valid?
by bananas2
2008-02-12T09:04:38-07:00
Forum: Bugs
Topic: 1-bit bw pict file convert to jpeg
Replies: 5
Views: 16256

1-bit bw pict file convert to jpeg

Water_lilies.pct is 1bpp pict file http://bananas.at.tut.by/Water_lilies.pct D:\Projects\fs\volume1\19292\1>identify -verbose Water_lilies.pct Image: Water_lilies.pct Format: PICT (Apple Macintosh QuickDraw/PICT) Class: DirectClass Geometry: 800x600+0+0 Type: Bilevel Endianess: Undefined Colorspace ...