Opened 16 years ago

Closed 14 years ago

#5897 closed patch (fixed)

Added "Reduce to fit" scaling option to MythGallery

Reported by: Boleslaw Ciesielski <bolek-mythtv@…> Owned by: beirdo
Priority: minor Milestone: 0.24
Component: Plugin - MythGallery Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The attached patch implements the "Reduce to fit" scaling option in MythGallery, in addition to already existing "Scale to fit" and "Scale to fill" options. All three are selectable by cycling through them using the FULLSCREEN command ('W' key by default).

"Reduce to fit" behaves the same as "Scale to fit" except it never upscales small images.

Attachments (1)

gallery_scale.patch (7.9 KB) - added by Boleslaw Ciesielski <bolek-mythtv@…> 16 years ago.
patch against svn r19030

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by Boleslaw Ciesielski <bolek-mythtv@…>

Attachment: gallery_scale.patch added

patch against svn r19030

comment:1 Changed 15 years ago by stuartm

Component: mythgalleryPlugin - MythGallery

comment:2 Changed 14 years ago by beirdo

Owner: changed from Isaac Richards to beirdo
Status: newassigned

comment:3 Changed 14 years ago by beirdo

Status: assignedaccepted

I have merged this locally, and will test it in a week or so when I get home.

comment:4 Changed 14 years ago by beirdo

Milestone: unknown0.24

comment:5 Changed 14 years ago by beirdo

Resolution: fixed
Status: acceptedclosed

(In [25659]) Adds "Reduce to fit" scaling option to mythgallery scaling. The scaling options now include:

  • scale to fit
  • scale to fill
  • reduce to fit.

Reduce to fit is the same as scale to fit with the exception that it will never scale up a small picture.

Scaling options can be cycled while viewing a picture by hitting the "FULLSCREEN" command (by default W key)

Applied a reworked version of the patch from #5897.

Thanks to Boleslaw Ciesielski <bolek-mythtv@…> for the patch.

closes #5897

Note: See TracTickets for help on using tickets.