Opened 12 years ago

Closed 10 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


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@…> 12 years ago.
patch against svn r19030

Download all attachments as: .zip

Change History (6)

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

Attachment: gallery_scale.patch added

patch against svn r19030

comment:1 Changed 11 years ago by stuartm

Component: mythgalleryPlugin - MythGallery

comment:2 Changed 11 years ago by beirdo

Owner: changed from Isaac Richards to beirdo
Status: newassigned

comment:3 Changed 11 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 10 years ago by beirdo

Milestone: unknown0.24

comment:5 Changed 10 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.