Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 236
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 233
Total: 234

Author Topic: Image quality  (Read 4704 times)

0 Members and 1 Guest are viewing this topic.

Offline mlinvin

  • Member
  • *
  • Posts: 30
    • View Profile
Image quality
« on: January 18, 2007, 05:51:27 pm »
Last question for today :)

Can I increase the quality of the images when the are resized? In which function can I find the setting send to GD?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Image quality
« Reply #1 on: January 18, 2007, 05:56:02 pm »
Depends on the version of GD. GD2 creates higher quality thumbnails.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline mlinvin

  • Member
  • *
  • Posts: 30
    • View Profile
Re: Image quality
« Reply #2 on: January 18, 2007, 05:59:20 pm »
Yes I know. I run GD2, but default is set to 75 I think. I would like to bump it up to 90, but can't find where to do it.

Offline mlinvin

  • Member
  • *
  • Posts: 30
    • View Profile
Re: Image quality
« Reply #3 on: January 18, 2007, 06:03:05 pm »
The resizeImage function is it a build in function in SMF?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Image quality
« Reply #4 on: January 18, 2007, 06:04:57 pm »
Yes it is

Sources/Subs-Graphics.php

function resizeImage
Find:

imagejpeg($dst_img, $destName, 65);


And increase the 65 up to 100
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline mlinvin

  • Member
  • *
  • Posts: 30
    • View Profile
Re: Image quality
« Reply #5 on: January 18, 2007, 06:06:23 pm »
I just found it myself. Thanks for the help. 100 is too much but runing 90 gives a nice images and size isn't so important to me. Thanks!

 

Related Topics

  Subject / Started by Replies Last post
9 Replies
5932 Views
Last post March 05, 2010, 12:18:13 am
by SMFHacks
5 Replies
8127 Views
Last post April 04, 2012, 12:39:56 pm
by spcx
1 Replies
2903 Views
Last post February 26, 2013, 05:20:08 pm
by SMFHacks
5 Replies
2401 Views
Last post April 24, 2020, 09:24:34 am
by SMFHacks
1 Replies
3725 Views
Last post September 05, 2020, 10:21:44 am
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal