Search found 10 matches
- 2019-05-07T07:14:03-07:00
- Forum: Users
- Topic: convert txt image to png with transparent gets empty image
- Replies: 4
- Views: 5719
Re: convert txt image to png with transparent gets empty image
Is this a bug in IM 6.8.9-9 Q16? I suppose so. I suggest you use a more recent version. Thanks for your help. But ... If I use IM 6.9.10-27 Q16, I will run into another problem. :shock: :shock: https://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=35990 How can I solve these two problems ...
- 2019-05-07T07:12:06-07:00
- Forum: Bugs
- Topic: Convert a txt file containing incomplete points to png, which will output an error
- Replies: 3
- Views: 8653
Convert a txt file containing incomplete points to png, which will output an error
Hi, when I convert a txt file to png, it exits with an error: convert: unable to open image `point.txt': No such file or directory @ error/blob.c/OpenBlob/2867. convert: no images defined `out.png' @ error/convert.c/ConvertImageCommand/3258. The contents of point.txt are as follows: # ImageMagick ...
- 2019-05-07T06:36:52-07:00
- Forum: Users
- Topic: convert txt image to png with transparent gets empty image
- Replies: 4
- Views: 5719
Re: convert txt image to png with transparent gets empty image
It works fine for me, with IM 6.9.9-50. What is in your redPoint.txt? I get: # ImageMagick pixel enumeration: 2,2,65535,srgba 0,0: (0,0,0,0) #00000000 none 1,0: (0,0,0,0) #00000000 none 0,1: (0,0,0,0) #00000000 none 1,1: (65535,0,0,65535) #FF0000FF red Thanks for your reply, the contents of ...
- 2019-05-07T01:39:18-07:00
- Forum: Users
- Topic: convert txt image to png with transparent gets empty image
- Replies: 4
- Views: 5719
convert txt image to png with transparent gets empty image
Hi, when i convert a txt image to a png image, it gives me an empty file. How can i get the correct image ? Below is an example: # step1. create an test image with one red point convert -size 2x2 xc:none -fill red -draw 'point 1,1' redPoint.png # step2. convert the image to a txt file convert ...
- 2019-04-03T21:03:47-07:00
- Forum: Users
- Topic: convert with -depth8, but the output is # ImageMagick pixel enumeration: 500,500,65535,srgb
- Replies: 5
- Views: 5630
- 2019-04-03T18:52:45-07:00
- Forum: Users
- Topic: convert with -depth8, but the output is # ImageMagick pixel enumeration: 500,500,65535,srgb
- Replies: 5
- Views: 5630
Re: convert with -depth8,but output was # ImageMagick pixel enumeration: 500,500,65535,srgb
ImageMagick txt: reports values in the Quantum depth of your install, not according to your depth. So if you are on Q16, it will report 65535. If on Q8, it will report 255 On my Q16 ImageMagick, convert logo: -depth 8 txt: # ImageMagick pixel enumeration: 640,480,65535,srgb 0,0: (65535,65535,65535 ...
- 2019-04-03T09:54:28-07:00
- Forum: Users
- Topic: convert with -depth8, but the output is # ImageMagick pixel enumeration: 500,500,65535,srgb
- Replies: 5
- Views: 5630
convert with -depth8, but the output is # ImageMagick pixel enumeration: 500,500,65535,srgb
Hi, when i convert an image with "-depth 8", the result was ''# ImageMagick pixel enumeration: 500,500, 65535 ,srgb". [cmd] convert artwork.png -depth 8 -colorspace srgb -alpha off txt:- [output] # ImageMagick pixel enumeration: 500,500, 65535 ,srgb Platform: Macbook Pro System Version: macOS 10.14 ...
- 2019-03-19T06:01:56-07:00
- Forum: Users
- Topic: Writing and Reading TXT images problems
- Replies: 3
- Views: 3755
Re: Writing and Reading TXT images problems
What version IM, on what platform? For the past few years, when IM creates an images, it encodes the image as non-linear sRGB. You then convert your image to linear RGB with "-colorspace RGB". This converts the very low value 1/255 to become 0/255. Awesome!!! Thanks for your help. And sorry for my ...
- 2019-03-19T06:00:52-07:00
- Forum: Users
- Topic: Writing and Reading TXT images problems
- Replies: 3
- Views: 3755
Re: Writing and Reading TXT images problems
Awesome!!!
Thanks for your help.
And sorry for my carelessness, I have added the version information.
Thanks for your help.
And sorry for my carelessness, I have added the version information.
- 2019-03-19T02:38:36-07:00
- Forum: Users
- Topic: Writing and Reading TXT images problems
- Replies: 3
- Views: 3755
Writing and Reading TXT images problems
Hi guys and gals. I was a bit confused when I finished the code below. command 1: convert -size 2x1 xc:none \ -fill ' rgb(0,0,0) ' -draw 'point 0,0' \ -fill ' rgb(0,0,1) ' -draw 'point 1,0' \ -colorspace rgb -depth 8 \ out.png command 2: convert out.png -colorspace rgb -depth 8 out.txt actual output ...