Skip to content

Releases: auriocus/PhotoResize

Development Build

08 Apr 20:59
Compare
Choose a tag to compare
Development Build Pre-release
Pre-release

Commits

  • 10dbbd0: Set fixed Windows version on Github Actions (Christian daheim)
  • 45f0cb3: Enable installation of Git SDK on Windows (Christian daheim)

Public release with minimal featureset

19 Aug 19:39
Compare
Choose a tag to compare

PhotoResize is an extension for Tcl/Tk to do high-quality (antialiased) photo image rescaling. It only exports a single command, resizephoto which resamples an existing photo image and copies the resampled data to a target image. Sample code is like this:

package require Img
package require photoresize
toplevel .d
image create photo orig -file any_jpg.jpg
puts "Loaded JPEG"
image create photo disp

pack [label .d.l -image disp]

set time [time {resizephoto orig disp 600 400}]
puts "Time for resampling: $time"

In-place resampling is allowed, i.e. source and target can refer to the same image.