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

Search the Community

Showing results for 'macro resize' in content posted in Resources.

  • 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 10 results

  1. Attached is a resizing macro with a slider that allows you to dynamically resize your image's height from 1000px to 100px in 100px increments The slider values goes from 0 to 1.0 Where... 1.0 = 1000px for the height 0.8 = 800px for the height 0.7 = 700px for the height 0.2 = 200px for the height etc etc You can use the CTRL + Arrow keys in the Slider adjustment box to quickly change increments in 0.1 (100px) values But for those of you that prefer using the slider to change the value, the macro has been written so that any values after the first decimal place are effectively ignored. So you do not have to move the slider to precisely 0.600 to get a 600px high image. Any value from 0.600 to 0.699 will always result in an image size of 600px Likewise moving the slider to any value from 0.300 to 0.399 will always result in an image size of 300px, etc, etc, etc Once you have resized the image you would need to perform a Document > Clip Canvas command to get rid of the transparent pixels now surrounding the image Note: The macro has a clip canvas command at the end of it which I have disabled in this demo so you can see the macro working in "real time" but it can be reenabled by editing then resaving the macro if you prefer the macro to do this step for you automagically The Equations formula used in the macro is x*h/clampmax((rounddown(a*10)*100),h) y*h/clampmax((rounddown(a*10)*100),h) This macro has been tested but not exhaustively, it is here as a demo for others to use or adapt as required. The main purpose in writing it was to find a way for the slider to ignore any decimal points values after the first one, which was (eventually) achieved using the "rounddown" command. Note: There is either a bug or misinformation regarding the use of the "rounddown" command which I will file a separate bug report for and link to from this post at a later time Selectively resize image height from 1000px to 100px.afmacro EDIT: The link to the bug report can now be found here
  2. Hello, I'm a photography and editing enthusiast. I've been learning this craft for a while and I'm a firm believer in sharing information so others can learn, and adapt it to their own needs. Many of the techniques I used to create these brushes and macros were not pioneered by myself, but I did create the brushes and macros contained within here myself. Installation Brushes Enable the Brushes studio panel if it is not already, click View > Studio > Brushes. Click on the Brushes studio panel, then click the Waffle icon. Click Import Brushes, and find the downloaded brush file on your system. A new brush category called "Retouching" will appear in the Brushes studio panel. Macros Enable the Library studio panel if it is not already, click View > Studio > Library. Click the Library studio panel then click the Waffle icon. Click Import Macros, and find the downloaded brush file on your system. A new macro category called "Retouching" will appear in the Library studio panel. Modifying Brushes Right click a brush and click Edit Macros Enable the Macro studio panel if it is not already, click View > Studio > Macro. Right click one of the macros and choose Edit Macro. Some steps allow you to click a gear and alter values. If you need to modify more in depth, unfortunately you will need to re-record the entire macro. I highly recommend opening a text editing program, and writing down each step in a macro before beginning to re-record. When done, you will need to click the button to Add to Library, or Export as an individual macro. What's Included Brushes Markup Pencil Brush Useful for making "notes" to yourself. 3x High Flow Brushes Hard, Satin, and Soft brushes. 3x Medium Flow Brushes Hard, Satin, and Soft brushes. 3x Low Flow Brushes Hard, Satin, and Soft brushes. This brush collection is sorted into each flow group by brush size (64, 32, 16) for easy identification when choosing a new brush. Choose a brush and resize it to the size that you need. Each brush has Pressure dynamics enabled for use with Art Tablets so that they offer a higher flow with more pen pressure, although they can also be used by mouse users. Macros Any Macro appearing with a *** warning text will run slowly and be very intense on your computer's system resources. I highly recommend letting these macros run, and just waiting for them to complete without attempting to do more work, or alt-tabbing to other programs. Luminosity Masks *** This macro manipulates channels to generate MASK LAYERS (not pixel layers), and deletes all created spare channels afterwards to avoid bloated files. To use one of the mask layers, drag the mask out of the folder and over another layer's picture icon so that it creates a vertical blue bar. Alternatively, drag the mask layer so that it appears normally in the layer stack (as if it were not clipped), right click the mask, then click Mask to Below. If you need more than one copy of a particular mask, right click the mask and click Duplicate. If you are interested in modifying the macro, I highly recommend watching Robin Whalley's video which is where I learned how to do this process within Affinity Photo. Black & White Generates a Black & White adjustment layer which is extremely close to an alternative B&W conversion method using a 50% grey layer set to Color. Shoutout to Ezra & Ally who teach the technique here this merely automates the process they taught. Solarize Generates a curve meant to be used to check color consistency across gradients, as well as useful for finding tricky dust spots / blemishes. This is not meant to be a creative effect, only useful for editing purposes. Dodge & Burn Generates curve layers with masks for dodging and burning. Use a white brush on the mask to reveal the effect. I've tweaked the blend ranges so that each effect rolls off, i.e. dodge will not effect the bright tones as much as it does the dark tones, burn will not effect the dark tones as much as it does the bright tones. Color Correction Generates a curve in both RGB and CMYK color space for basic color correction. Open the curve layer, use the picker tool inside the adjustment properties and click on the area of the image you wish to correct. Some knowledge of color theory is useful here. Contrast Simple curve layer with an S-Curve to boost image contrast. Local Contrast & Sharpening *** Do you enjoy the Clarity filter, but hate how little control it gives you? Give your image some punch while being able to dial in the amount of local contrast boost and sharpening independantly. For more effect, feel free to duplicate either layer. Use a mask on an individual effect, or the whole group. Frequency Separation - Bilateral *** Some editing workflows prefer using a different blur to the gaussian method of the built-in filter. Because of limitations of how Macros work, the blur will not generate an actual preview. If you need to preview what you are doing, please create a merged visible layer (Ctrl + Alt + Shift + E), then run the Bilateral Blur filter. Record the values you find to be useful, then delete the merged layer and run the macro. FAQ Reserved for future questions that may come up Retouching Dynamic.afbrushes Retouching.afmacros
  3. I have put together a set of macros to change the dpi of an image without changing the pixel dimensions. The set comprises macros to change the dpi to 72, 96, 144, 150, 180, 192, 300 and 400dpi. These macros were recorded in Photo 1.6 because there were reports that similar macros recorded in 1.7 would always resample, even if the Resample box was unticked. I have checked that these macros work in 1.8, which they do. I also note that in 1.8 the Resize function will change the dpi without resampling. Here is the Library file: Change DPI 1.6.afmacros Thanks to @carl123 for setting the ball rolling with his macro here. EDIT: This macro library has been recreated (in 1.6) and re-imported into this message. EDIT: I have now re-recorded them in Photo 1.10, but they still do not work! John
  4. I had posted a revised a set of macros to resize an image to a fixed maximum size, whilst preserving the aspect ratio. Recently I have been creating macros that resize an image to fit in a frame of a specific size, in this example 3000 by 2000, see here. Resizing to a fixed maximum is essentially the same as fitting the image into a square frame. After some suggestions, especially from @anon2 and @Lagarto, I realised that a simple batch job would do what was required without using macros. For a fixed maximum, enter this value in both the W and H fields of the Batch Job. Even if there is only a single file to process, this is probably simpler than calling a macro (after you have called up View > Studio > Macro or Library and dismissed them afterwards). This also has the advantage that you can specify the target file location and type. One snag I have noticed is a certain loss of sharpness after the resizing. This could be resolved by including a macro to apply a light sharpen as part of the batch job. I am unsure, however in what order the resizing and the macro are applied. It would make a big difference! Note that this simple solution will not work should you want to resize your image to a specific minimum size. John
  5. Some time ago I created a set of macros to resize an image to a fixed maximum size, as described here. Recently @DanThePhotoMan asked about resizing to a fixed minumum size here. I have revisited these macros and created two sets, one resizing to fixed maximum size and the others to a fixed minimum size. They are all based on the following sequence for the maximum set: Layer > Unlock Layer > Rasterize and TrimFilter > Distort > Equations Enter the following in the x and y fields, substituting your own maximum size, then Apply (x/MAXSIZE)*max(h,w) (y/MAXSIZE)*max(h,w)Document > Clip Canvas Layer > RasterizeSelect > Alpha Range > Select Partially Transparent Edit > Fill> Inpainting Select > Deselect Where MAXSIZE is from the following pixel sizes: 640, 800, 1000, 1280, 1600, 2000. The set to resize to minimum is similar except that it uses min(w,h) instead of max(w,h) in step 3 (Equations). There is also a pair of macros to resize to an arbitrary size (up to 4000px). This macro pauses to allow you to enter a parameter a. It is convenient to enter this parameter in the form of MAXSIZE/4000, where MAXSIZE is the maximum (or minimum) required size. For example, if you wanted to resize to 3000px, you would enter 3000/4000, which evaluates to 0.75. (You could enter 0.75 if you wanted.) Note that the resizing algorithm in the Equations process is not defined. Here are the macros as a library (.afmacros) file. Resize.afmacros John @Traveler @Gnobelix @affwin @firstdefence
  6. I have just tried applying a sharpening macro to a Batch Job and it does have the desired effect. I have also tried it on a batch of files to resize to a fixed maximum and to a fixed frame size. Both work well, with and without a sharpening macro. John
  7. This did the trick! Thanks for taking the time to create these in an older version of AP sans bug. I had created the same macro in 1.8.1 and it didn't work for me. I still have to use Automator to resize to the longest side correctly before running your DPI macro. I hope this regression gets worked out in the next bugfix.
  8. Guest

    Astronomy macros

    Anyone used to astronomy tools in PS is probably used to removing stars from astro images and the advantages that gives. This macro will remove all stars from an image, the image should be RGB 16bit or Grayscale 16bit and have the background layer duplicated once before running. It will ask for black and white levels, the black can generally be left alone but adjust the white level up or down until all stars are removed. In general resize your image first to about 1000px wide and find what figures work for white level then run with those figures in your main image as this macro can take a while depending on number of stars, image size etc... It will also produce a spare channel with a star selection mask - ultra useful in astro photos. The starless layer mode can be changed to overlay, difference etc to great effect especially if opacity is also changed WARNING - if you make too many changes to the white and black levels before applying the rendering seems to slow down each time !? Would appreciate knowing if anyone can speed up the preview rendering Clear skies and enjoy star deletion.afmacro
  9. Note that I have found that the default values for the Gaussian Blur live filter changes automatically with the size of the image when you first run the macro. That is, if you load a large (say full-res dSLR) image, the blur radius is larger than if you load a smaller res image. You can always change the blur radius during the macro dialog or after the fact, as the GB layers are live filter layers. Also, when working on an image, I would suggest working on it at final export size. Play around with getting the look you want and then changing the document size to see how that affects the grain. You can experiment with stamping the stack prior to resizing - this will create a pixel layer with the look burned in - the grain will get resized during image size changing. You can also leave everything live, resize, and then adjust the GB layers accordingly to reestablish the look at the smaller size. Then export. I found this approach worked better. kirk
  10. Thanks for this, Carl. Very cool. If I understand correctly, this macro utilizes the distort command rather than resize document. That means you still lose control over resizing method (i.e. bilinear, bicubic, etc.). Can you verify this?
×
×
  • 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.