Search found 2972 matches

by Bonzo
2006-07-25T10:54:47-07:00
Forum: Users
Topic: Coloring page from color picture ?
Replies: 14
Views: 65917

Thats strange cocktail22 ! I have added some echo comands to the code to see what is being sent - or not sent. Give this a go. <?php // If the form has been submitted do this if ( $Submit ) { // Display what is being posted echo "<br> filename = ".$filename; echo "<br> HTTP_POST_VARS ...
by Bonzo
2006-07-24T14:26:19-07:00
Forum: Users
Topic: Coloring page from color picture ?
Replies: 14
Views: 65917

Imagemagick never seems to give an error it just does not work. There is an option to output an error but that never works for me either. I have just tried my code again and a bit of my security checking is causing an error sometimes so here is the code with that removed. <?php // If the form has be...
by Bonzo
2006-07-24T13:46:58-07:00
Forum: Users
Topic: Coloring page from color picture ?
Replies: 14
Views: 65917

<?php // If the form has been submitted do this if ( $Submit ) { // Temporary upload image name $original_image = $_FILES['filename']['tmp_name']; // Get the image dimensions $size=GetImageSize( $original_image ); // Name to save the image as - in this case the same as the original $new_image = $_F...
by Bonzo
2006-07-24T13:40:16-07:00
Forum: Users
Topic: Coloring page from color picture ?
Replies: 14
Views: 65917

Try this code now: <?php // If the form has been submitted do this if ( $Submit ) { // Temporary upload image name $original_image = $_FILES['filename']['tmp_name']; // Get the image dimensions $size=GetImageSize( $original_image ); // Name to save the image as - in this case the same as the origina...
by Bonzo
2006-07-24T13:37:48-07:00
Forum: Users
Topic: Coloring page from color picture ?
Replies: 14
Views: 65917

Its simple when you read the instructions !!!

All you need to do now is optimise the method and code !

Code: Select all

exec("/usr/local/bin/convert House6.jpg -negate House9.jpg");
http://www.rubblewebs.co.uk/imagemagick/House9.jpg
by Bonzo
2006-07-24T13:22:37-07:00
Forum: Users
Topic: Coloring page from color picture ?
Replies: 14
Views: 65917

I am having a problem with that cocktail22. I have tried another example on the froum and it does not work. I have also tried some other ideas about making the black transparent but that failed as well.
by Bonzo
2006-07-24T12:50:12-07:00
Forum: Users
Topic: Coloring page from color picture ?
Replies: 14
Views: 65917

I have modified my code for you to try. The outputs need reversing by the looks of things as you want the black areas white and the white areas black ? I Just commented out the method I was not trying for speed and renamed the outputs for comparison. Make sure you CHMOD directory to 777 and if you a...
by Bonzo
2006-07-24T12:22:00-07:00
Forum: Users
Topic: Coloring page from color picture ?
Replies: 14
Views: 65917

You could modify my example form: http://www.rubblewebs.co.uk/imagemagick/code.php

If you need help contact me
by Bonzo
2006-07-24T10:58:20-07:00
Forum: Users
Topic: rotate image 0 to 360
Replies: 5
Views: 17169

I was mainly trying this out for Liza and working it into a php method. When I got home today I had recived and email from my hosts about the code slowing down the server; so if you my example be careful !!!!! I was going to condense the code and improve it but I think I will leave it now to avoid a...
by Bonzo
2006-07-23T11:52:51-07:00
Forum: Users
Topic: rotate image 0 to 360
Replies: 5
Views: 17169

I have done a simple example in php as well, needs some work but you will get the idea. http://www.rubblewebs.co.uk/imagemagick/animation.php If you are going to make 360 images it could take some time ! My server hung up on 23 images but when I checked the folder on the server the job was completed...
by Bonzo
2006-07-23T11:51:42-07:00
Forum: Users
Topic: Suddenly stopped working
Replies: 1
Views: 10354

I have some php examples on my site widget.

http://www.rubblewebs.co.uk/imagemagick
by Bonzo
2006-07-13T13:46:41-07:00
Forum: Users
Topic: Working with 300 dpi JPG: Offering $100 reward for solution
Replies: 0
Views: 7134

The code you are using is from the GD library ? Anyway some code I think works although I can not get "identify" to work on my server so I have downloaded the modified image and checked it in Gimp and it seems to be 300dpi still. http://www.rubblewebs.co.uk/imagemagick/testjpg/watermark_te...
by Bonzo
2006-06-22T12:31:39-07:00
Forum: Users
Topic: Problem in creating animation using Imagemagick & PHP
Replies: 0
Views: 6006

I have only had a quick go at a simple animation and my code is here http://www.rubblewebs.co.uk/imagemagick/animation.php You may be able to see what you want to do there and modify it. looking at your code I would change it to this but it is probably not what you want! system("/usr/bin/conver...
by Bonzo
2006-06-20T11:39:18-07:00
Forum: Users
Topic: Black Streaks in Montage Output
Replies: 3
Views: 14132

It worked OK for me aewert using php:

http://www.rubblewebs.co.uk/imagemagick/aewert.php
by Bonzo
2006-06-18T04:30:24-07:00
Forum: Users
Topic: How do you use this with PHP?
Replies: 2
Views: 11746

All my code examples run using php; you would need to modify the variables to what you want to use. The best bet is just to copy one of my examples and give it a go as it is; then try modifying it once you get it to work. Depending if you are uploading the photos or letting others upload you may nee...