Jump to content
You must now use your email address to sign in [click for more info] ×

Search the Community

Showing results for tags 'squeeze'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Affinity Support
    • News and Information
    • Frequently Asked Questions
    • Affinity Support & Questions
    • Feedback & Suggestions
  • Learn and Share
    • Tutorials (Staff and Customer Created Tutorials)
    • Share your work
    • Resources
  • Bug Reporting
    • V2 Bugs found on macOS
    • V2 Bugs found on Windows
    • V2 Bugs found on iPad
    • Reports of Bugs in Affinity Version 1 applications
  • Beta Software Forums
    • 2.5 Beta New Features and Improvements
    • Other New Bugs and Issues in the Betas
    • Beta Software Program Members Area
    • [ARCHIVE] Reports from earlier Affinity betas

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Member Title

Found 1 result

  1. In a recent posting, @MaximusNZhad been creating panoramas, but had found that the upper and lower parts of the image were compressed with respect to the more central parts. He posted a message in my thread on Wrapping a label round a bottle since this also involved such stretching and squeezing. I posed a temporary solution to his/her problem, but I present here a more general solution. This is based on the S-curve, familiar to those using the Curves tool. The default shape for the curve is a straight line between the origin and the (w, h) position at the top right. The parameters of the macro will distort this linear relationship. I will elaborate on the mathematical aspects in a later posing in this thread. Consider a simple grid: By varying a parameter a, the image can be distorted horizontally. Values of a larger than 0.5 will stretch the left and right whilst compressing the centre; values less than half will stretch the centre whilst stretching the left and right. See the image below: By varying a parameter b, the image can be distorted vertically. Values of b larger than 0.5 will stretch the top and bottom whilst compressing the centre; values less than half will stretch the centre whilst stretching the top and bottom. See the image below: Here is the macro as a single macro and as a library: S-curve.afmacro S-curve.afmacros John
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.