 | |  | |
February 6th, 2006, 04:12 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 117
| Imagemagick and GD2 Problem.
On uploading an image of 81.91kb the file size is converted but the wrong way, end result is a file size of 207.73kb, at this rate my gallery is soon going to be full up.
|
| |
February 6th, 2006, 09:43 AM
|
#2 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,243
|
Good Find
- I'll take a look @ it.
- moved to bugs
* Data for later REFF.
Settings: jpg: 600x600
Upload: waaa.jpg 640x480x24b 56k
waaa.jpg - 600x450x24b 163k
waaa_original.jpg - 640x480x24b 56k
waaa_thumb.jpg - 100x75x24b 8k
|
| |
February 7th, 2006, 11:44 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 117
|
Any idea how long this might take to fix? I would like to open up the Gallery to my members. |
| |
February 9th, 2006, 06:09 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 117
|
Just a vague idea would be good. |
| |
February 9th, 2006, 08:26 AM
|
#5 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,243
| Quote: |
Originally Posted by clothahump Just a vague idea would be good.  | - It's in the works on the DEV side. There will be a post on the findings.
|
| |
February 10th, 2006, 11:20 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Oct 2005
Posts: 48
|
yea i noticed this as well... this is y i did not enable the Save Original Files sinces its loads huge file
|
| |
February 11th, 2006, 03:51 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 117
|
So what size files are you getting?
Give us an example please.
|
| |
February 11th, 2006, 08:33 AM
|
#8 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,243
| Quote: |
Originally Posted by clothahump So what size files are you getting?
Give us an example please. | Goofen around w/ different images on a windows box w/ ImageMagik. I need to test GD2 still. I'll rip appart bits of code while more results are compiled and see what I can find.
- Looks like GIF is ok size wise, but no Watermark.
- PNG, JPG attach the watermark, but resize to MED size is off (2x larger).
- MP3, WMF, PDF - all ok
// JPG
waaa.jpg 56k
waaa.jpg - 600x450x24b 163k
waaa_original.jpg - 640x480x24b 56k
waaa_thumb.jpg - 100x75x24b 8k
// GIF
abrams_park_bike.gif 708.10 KB
Thumb: 100 x 75 9K
Dimensions: 400 x 320 (1058 x 846)
Filesize: 109.74 KB (708.10 KB)
// PNG
navbar.png 73k
Thunb: navbar_thumb.png 100 x 75 10K
Dimensions: 387 x 600 (700 x 1084)
Filesize: 133.71 KB (72.90 KB)
|
| |
February 12th, 2006, 05:09 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 117
|
Looks like this could take some time, I suppose I will have to let my members have access to the Gallery and rebuild all thumbs later, bit of a waste of money otherwise.
|
| |
February 12th, 2006, 10:46 AM
|
#10 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,243
|
Copy of this thread in the DEV area.
Not too long.
|
| |
February 15th, 2006, 04:11 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 117
|
Is anybody else having the same problem?
|
| |
February 16th, 2006, 06:02 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 117
|
Can anybody give me a clue as to if this will be sorted out, my gallery is now 10 days old and still empty, I would like to use it this Century if possible. |
| |
February 17th, 2006, 03:52 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 117
|
As per Chuck's INSTRUCTIONS.
Server was completely updated November 2005 with all image scripts up to date.
So this is a server problem and not vbgallery???
|
| |
February 17th, 2006, 04:11 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 117
|
Just checked with server owner and it all works fine so it has to be VBGallery.........
Just my luck to pick a script that does not work.............
|
| |
February 17th, 2006, 07:54 PM
|
#15 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,243
|
This is something we are working on.
- The reason it is a sticky in the bugs area and not closed.
- When there is an answer it will be posted and closed.
|
| |
February 19th, 2006, 09:37 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
Okay well this is my recommended change to functions_gallery_imageedit.php to help strip the exif data on medium images to get the filesize down
Line 173 of that file change the line to this and do your testing for Imagemagick. Issue I see it is exif data is not being stripped from the file so mediums can not be compressed. Code: Content visible to verified customers only.
|
| |
February 19th, 2006, 10:56 AM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 117
|
So what about GD2????
|
| |
February 19th, 2006, 11:03 AM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 117
|
functions_gallery_imageedit.php does not exist?
|
| |
February 19th, 2006, 12:46 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
Of course the file exists. Looks in your vbulletin includes directory
The only difference I did to the command line was to add in the profile statement to strip exif from the resized image which should allow it to be smaller than the iriginal
I see no issue with gd2 at all here
original image in gd2 test shows 105.79 KB
resized image in gd2 test shows 65.50 KB
Now using Imagemagick
original Image with new Mogrify command shows 87.4 KB
resized image with new Mogrify command shows 62.83 KB
Before the resized image was like double the original file using mogrify
EDIT BY THE WAY for Zachs info.
YOUR CAN NOT WATERMARK A GIF IMAGE
Last edited by Chuck S; February 19th, 2006 at 01:00 PM.
|
| |
February 19th, 2006, 02:06 PM
|
#20 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,243
| Quote: |
Originally Posted by Chuck S EDIT BY THE WAY for Zachs info.
YOUR CAN NOT WATERMARK A GIF IMAGE  | Thats lame.
w/ the option of transparent Gif98a you would think it would be no big deal
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:13 AM. | |