Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

NetPBM image resize function -> question

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Author Message
intel352

Beginner
Beginner


Joined: Apr 23, 2003
Posts: 5

PostPosted: Wed Aug 20, 2003 4:47 pm    Post subject: NetPBM image resize function -> question Reply with quote

This is less a gallery-specific question, more a programming question...

i've been working on some image resize functions for nukestyles, and all my code (for gd and netpbm) has been pieced together over the internet

i've come into an issue tho... since netpbm likes to maintain proportions (which is usually good), if there is a tall or wide image, it is usually WAY too small when the thumbnail is created...

shawn has asked me to make the resize function create non-proportional images, or at least have a minimum size limit... is there any way to do this with netpbm? i've had a hard time finding good enough documentation, so it's been a pain just creating the resize function that i have now, lol

if you have any suggestions, they would be greatly appreciated
thanks
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: NetPBM image resize function -> question  

Back to top
intel352

Beginner
Beginner


Joined: Apr 23, 2003
Posts: 5

PostPosted: Thu Aug 21, 2003 5:21 am    Post subject: Reply with quote

so does nobody have any experience with netpbm?
_________________
[nukebbmods.net]
NukeBBMods.net [nukebbmods.net] || CSMapCentral [csmapcentral.com]
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Thu Aug 21, 2003 5:27 am    Post subject: Reply with quote

Is there no DOCs at sourceforge?
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
intel352

Beginner
Beginner


Joined: Apr 23, 2003
Posts: 5

PostPosted: Thu Aug 21, 2003 5:37 am    Post subject: Reply with quote

there is, but i've come across nothing yet to set a minimum size limit for the image, or to set *exact* size without regard to the proportions

i must be looking in the wrong places, lol, but everything i've found so far (setting -width and -height, or just using -xysize) all seem to do the same thing, save proportion

i'll keep searching..
_________________
[nukebbmods.net]
NukeBBMods.net [nukebbmods.net] || CSMapCentral [csmapcentral.com]
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Thu Aug 21, 2003 5:45 am    Post subject: Reply with quote

If you haven't aready done so - I would email Mr NETPBM.

His email is on the sourceforge site.

http://netpbm.sourceforge.net

Sad Sry I can't help anymore (way above my head!! Laughing )
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
intel352

Beginner
Beginner


Joined: Apr 23, 2003
Posts: 5

PostPosted: Thu Aug 21, 2003 6:03 am    Post subject: Reply with quote

i was searching through again, looks like i finally found what i needed (missed a command that i can use, in the pnmscale file)

thanks for your help though Wink
_________________
[nukebbmods.net]
NukeBBMods.net [nukebbmods.net] || CSMapCentral [csmapcentral.com]
Back to top
Offline View user's profile Send private message
intel352

Beginner
Beginner


Joined: Apr 23, 2003
Posts: 5

PostPosted: Thu Aug 21, 2003 9:19 am    Post subject: Reply with quote

lol, i was wrong, that command didn't work, but i emailed Mr netpbm, lol, so hopefully he'll respond soon

thanks again
_________________
[nukebbmods.net]
NukeBBMods.net [nukebbmods.net] || CSMapCentral [csmapcentral.com]
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia