PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old 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.
clothahump is offline   Reply With Quote
Old February 6th, 2006, 09:43 AM   #2 (permalink)
Registered User
Verified Customer
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,243
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
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
Zachariah is offline   Reply With Quote
Old 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.
clothahump is offline   Reply With Quote
Old February 9th, 2006, 06:09 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 117
Just a vague idea would be good.
clothahump is offline   Reply With Quote
Old February 9th, 2006, 08:26 AM   #5 (permalink)
Registered User
Verified Customer
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,243
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
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.
Zachariah is offline   Reply With Quote
Old 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
OtAkU is offline   Reply With Quote
Old 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.
clothahump is offline   Reply With Quote
Old February 11th, 2006, 08:33 AM   #8 (permalink)
Registered User
Verified Customer
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,243
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
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)
Zachariah is offline   Reply With Quote
Old 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.
clothahump is offline   Reply With Quote
Old February 12th, 2006, 10:46 AM   #10 (permalink)
Registered User
Verified Customer
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,243
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Copy of this thread in the DEV area.
Not too long.
Zachariah is offline   Reply With Quote
Old February 15th, 2006, 04:11 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 117
Is anybody else having the same problem?
clothahump is offline   Reply With Quote
Old 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.
clothahump is offline   Reply With Quote
Old 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???
clothahump is offline   Reply With Quote
Old 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.............
clothahump is offline   Reply With Quote
Old February 17th, 2006, 07:54 PM   #15 (permalink)
Registered User
Verified Customer
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,243
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
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.
Zachariah is offline   Reply With Quote
Old February 19th, 2006, 09:37 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 19th, 2006, 10:56 AM   #17 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 117
So what about GD2????
clothahump is offline   Reply With Quote
Old February 19th, 2006, 11:03 AM   #18 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 117
functions_gallery_imageedit.php does not exist?
clothahump is offline   Reply With Quote
Old February 19th, 2006, 12:46 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; February 19th, 2006 at 01:00 PM.
Chuck S is offline   Reply With Quote
Old February 19th, 2006, 02:06 PM   #20 (permalink)
Registered User
Verified Customer
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,243
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
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
Zachariah is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Imagemagick or GD2 to work? spartanic ReviewPost How do I...? 1 January 30th, 2006 10:42 AM
Imagemagick or GD2 dleblanc General Discussion 0 September 3rd, 2005 07:08 AM
Cant change from imagemagick to GD2 elyk Photopost Pro Installation & Upgrades 3 January 9th, 2005 10:24 PM
Moving: GD2 => ImageMagick kernel-panic Photopost Pro Installation & Upgrades 1 November 4th, 2004 08:48 PM


All times are GMT -5. The time now is 07:13 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0