Search found 37 matches
- 2010-03-22T04:22:20-07:00
- Forum: Users
- Topic: Best command for resizing large pics for highest quality.
- Replies: 16
- Views: 44114
Re: Best command for resizing large pics for highest quality
Have tried that other command and thats really bad. It' lightens all the whites. The closest thing I have is my original command with quality 100. but colours (mainly reds) do appear slightly darker, especially around the edges.
- 2010-03-19T07:24:45-07:00
- Forum: Users
- Topic: Best command for resizing large pics for highest quality.
- Replies: 16
- Views: 44114
Re: Best command for resizing large pics for highest quality
I have tried with resize and the new order and I don't see any difference in quality. So I upped -quality to 100 and this does provide better quality, but the image appears darker then if I was to do it in photoshop. I am basically trying to replicate what photoshop does when you resize a large imag...
- 2010-03-18T10:08:30-07:00
- Forum: Users
- Topic: Best command for resizing large pics for highest quality.
- Replies: 16
- Views: 44114
Best command for resizing large pics for highest quality.
I work on a photography website and need to resize user's photos down to photos that are no bigger than 600x600. The uploads are jpeg files and the current command I am using gives alot of artifacts. I have upped quality to 100 and although less artifiacts, still not as acurate as photoshop. Any sug...
- 2008-10-08T07:06:56-07:00
- Forum: Users
- Topic: gradients going wrong
- Replies: 37
- Views: 74627
Re: gradients going wrong
I have managed to get it to work using some PHP trickery to manipulate the string IM returns: $cmd = IMAGEMAGIKDIR.' -size 1x1 xc:"#FF6600" -depth 8 txt:'; $rgb = exec($cmd); # SPLIT THE STRING TO GET THE RGB VALUES RETURNED $start = strpos($rgb,'('); $end = strpos($rgb,')'); $length = $en...
- 2008-10-08T01:32:52-07:00
- Forum: Users
- Topic: gradients going wrong
- Replies: 37
- Views: 74627
Re: gradients going wrong
Just want to say thanks so far for being so helpful. All 4 tests come back with the correct shade of orange: /usr/local/bin/convert -size 100x100 xc:"rgb(255,102,0)" -type TrueColor test_color5a.png http://www.ephotozine.com/images/user-awards/temp/test_color5a.png /usr/local/bin/convert -...
- 2008-10-07T09:06:04-07:00
- Forum: Users
- Topic: gradients going wrong
- Replies: 37
- Views: 74627
Re: gradients going wrong
no, it gives me a blue colour:First tell me if this works:
convert -size 100x100 xc:white xc:gray40 xc:black -combine test_color4.png
- 2008-10-07T08:54:10-07:00
- Forum: Users
- Topic: gradients going wrong
- Replies: 37
- Views: 74627
Re: gradients going wrong
Im viewing the image in firefox, safari and internet explorer. All show black bars running through it (internet explorer shows slightly lighter black bars).
- 2008-10-07T03:46:31-07:00
- Forum: Users
- Topic: gradients going wrong
- Replies: 37
- Views: 74627
Re: gradients going wrong
convert -size 1x1 xc:"#FF6600" -depth 8 txt: note 66 not CC That was the one you reported above did not work out. Does this method give you the right rgb values? It should report yes give me the exact same as you reported Also tell me if the following gives you the correct color: convert ...
- 2008-09-29T02:20:07-07:00
- Forum: Users
- Topic: gradients going wrong
- Replies: 37
- Views: 74627
Re: gradients going wrong
Ok, here is what I get :
/usr/local/bin/convert -size 1x1 xc:"#ffcc00" -depth 8 txt:
#ffcc00 -> 0,0: (255,204, 0) #FFCC00
/usr/local/bin/convert -size 1x1 xc:"#ffcc00" -depth 8 txt:
#ffcc00 -> 0,0: (255,204, 0) #FFCC00
- 2008-09-26T01:28:35-07:00
- Forum: Users
- Topic: gradients going wrong
- Replies: 37
- Views: 74627
Re: gradients going wrong
Just checked to see whats happening with converting hex to rgb, and it coming back blank regardless of the hex: /usr/local/bin/convert -size 1x1 xc:"#000000" -format "rgb(%[fx:floor(255*r)],%[fx:floor(255*g)],%[fx:floor(255*b)])" info: #000000 -> rgb(,,) /usr/local/bin/convert -s...
- 2008-09-25T02:57:51-07:00
- Forum: Users
- Topic: gradients going wrong
- Replies: 37
- Views: 74627
Re: gradients going wrong
Hi,
Our Server Admin suggest that we don't do the upgrade as it would require an RPM install of it which is not built for the OS we are running.
How do you convert a hex value to the corresponding name like you mentioned?
Our Server Admin suggest that we don't do the upgrade as it would require an RPM install of it which is not built for the OS we are running.
How do you convert a hex value to the corresponding name like you mentioned?
- 2008-09-22T02:54:54-07:00
- Forum: Users
- Topic: gradients going wrong
- Replies: 37
- Views: 74627
Re: gradients going wrong
Ive tried what i have put in the above post and it doesn't completly work. It appears to be fine for: FFFFFF CCCCCC Heres the intersting part: Neither version can do: FF6600 6.3 can do: C0C0C0 FF0080 6.2 can't. In 6.3, using FF6600 and the above method produces a pinkish colour, when it should be or...
- 2008-09-22T02:15:43-07:00
- Forum: Users
- Topic: gradients going wrong
- Replies: 37
- Views: 74627
Re: gradients going wrong
I think I understand now. Let me just make sure: 1. Decompose the Hex to RGB values: convert -size 1x1 xc:"#ffcc00" -format "rgb(%[fx:floor(255*r)],%[fx:floor(255*g)],%[fx:floor(255*b)])" info: returns: rgb(255,204,0) 2. Make 3 grayscale images using the decomposed rgb values sup...
- 2008-09-19T02:24:48-07:00
- Forum: Users
- Topic: gradients going wrong
- Replies: 37
- Views: 74627
Re: gradients going wrong
What I don't understand from the method you describe is where the decompose comes back into play? I can easily 'decompose' the rgb with php to assign them to php values. But where do i Use these in the next IM commands? convert -size 10x100 xc:white white.png (for red see -combine below) convert -si...
- 2008-09-18T05:35:37-07:00
- Forum: Users
- Topic: gradients going wrong
- Replies: 37
- Views: 74627
Re: gradients going wrong
Again the most basic thing to do is to create 3 images for r,g,b and then merge together. decompose the colors into ff=255, 00=0, 80=128, then make three grayscale image using convert -size 10x100 xc:white white.png convert -size 10x100 xc:black black.png convert -size 10x100 xc:gray128 gray.png Th...