Jump to content

Search the Community

Showing results for tags 'macro'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Affinity Support Forums
    • News and Information
    • Affinity Support & Questions
    • Feature Requests & Feedback
    • Bugs in Affinity Designer & Affinity Photo
  • Learn and Share
    • Tutorials (Serif and Customer Created Tutorials)
    • Share your work
    • Resources
  • Affinity Beta Software Forums
    • Affinity Designer Beta Forums
    • Affinity Photo Beta Forums
    • Affinity Publisher Beta Forums

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 180 results

  1. John Rostron

    Arcs or Arches: a macro to bend images

    This is an updated version of the Polar Quadrant macro I have posted earlier. Consider a rectangular image that you would like to bend into an arc: The macro has two parameters. The first (a or Sector Width) controls the fraction of a circle that the altered image will occupy. The default value of 1 produces an arc of one eighth of a circle. Reducing this to 0.5 gives one quarter of a circle. This image this parameter set to 0.5: The second parameter (b or Height below Top) controls the position of the centre of the circle. Setting this to 1 places the centre at the bottom edge of the image. Reducing the value places the centre above the bottom, thereby reducing the radius. The following image has this parameter set to 0.75 (and the first to 0.5): A few notes: The parts of the final image outside the sector are transparent. The parts within the sector retain the original background colour. The macro works with the latest 1.7 Beta (333). I have tried to set both the default parameters to 1. However, in the 1.6 version, it insists on setting the default of the second parameter to zero which gives you a blank output! You will need to increase this second parameter. It seems to perform properly in the 1.7 beta. The image layer is rasterized at the start of the macro. If you apply a small value of the Height below Top parameter (below 0.5), You will get a partial (or even full) mirror image in the bottom part of the screen. I have left this, since some users might want to utilise it. Otherwise you can crop the image. The macro comprises a rasterization followed by Filter > Distort > Equations with the following lines for x and y: x=w*atan((x-w/2)/(h*b-y))/(180/pi/a)+w/2 y=h*b-sqrt((x-w/2)^2+(h*b-y)^2) Here are the macro and macro library (containing the one macro). Arcs and Arches.afmacros Polar Sector.afmacro John
  2. So, I try to import a macro in my program and this window appears but I don't even know where this file is located or if it even exists? I would like to copy them in this file so they could be linked anywhere on my mac or my iPad in a near future. To specify, I think it requires to copy my macros into this unknown file to be able to import them at all.
  3. Hi, my macros all suddenly disappeared while I was working on some pictures. I have reinstalled the latest 1.6.5 version, but doesn't even load the standard macros - check pic attached. I use Windows 10. Any suggestions? Thanks
  4. I wrote a macro to convert an image using a Cartesian to Polar conversion. It worked well in 1.6 and I describe it here. I have just tried it in the 1.7 beta and it no longer works. The output is a series of concentric colours, as if just the central axis has been rotated. I have tried running the original macro and also re-creating the macro with the same Equations. John
  5. Is there a way to insert/create a copyright/watermark in Affinity Photo please?
  6. John Rostron

    General Fuzziness macro

    I was prompted to create this macro by a recent posting asking about haziness as result of the output of an aircraft engine. My initial efforts were also trying to emulate the effects of hammered glass. Here is a macro that creates a general fuzziness effect which could possibly be used in the contexts mentioned above. Fuzziness is a category containing just one macro: General Fuzziness. Fuzziness.afmacros General Fuzziness.afmacro There are three parameters: Wavelength controls the number of cells across the image. Noisiness controls the amount of random noise applied to the cell sizes. Amplitude controls the overall intensity of the effect. Here is an example as applied to an image of a Sea Aster flower: . With the parameters at half strength: and with the parameters at full strength. I would envisage that you would use this effect on just part of an image. John
  7. I have created several new macros. However, when I wish to enter them into a new category I get an error as follows: Click on the hamburger menu at the top of the Library Panel. Select Create New Category. This creates a new category called Macros. Click on the Hamburger menu for this new category.Select Rename. I now get an error message saying "You already have a macro category named 'Macros'.Please choose another name." (Note the lack of space between Macros and Please.) I now click on Close and I am now able to choose another name. Needless to say, I do not already have a category called 'Macros'. John
  8. Good morning folks I,ve been trying to make a watermark macro to use on my photos without much success.I have made a macro and added it to the library but when I try to add it to a photo nothing happens.I would be grateful if someone could let me know the correct procedure.Many thanks
  9. somogyiandras

    Macros

    I have afmacros but I coludn't import them. The Photo is needed afmacro. I renamed them to .afmacro from .afmacros but no work.
  10. We are often working with many various photos in a specific way. Often performed operation, after the whole process of photo editing is adding border. Let's say, that border have to be 40px at each direction for 800px image. I have created a macro with using FX Outline option - maybe there are better ways to do it? Change Document properties - uncheck the Transparent background in the Document menu. Enable the Outline FX effect. Set radius to some pixel value... and this it's strange, because it must be 39px to get proper width of 880px for bordered image from 800px image. 40px is resulting in 882px image. Why is that? Set FX Outline colour to white. Clip Canvas. Is there an option to change a default colour of the document background, or it must be white? White is good for us for now, but it's good to know Next question is a little different, but also is close to our specific workflow with these photos. Is there a way to clip a photo as described below? We have a product photo with the white(or other), solid background. We choose some option to crop the image to content with ignoring pixels of the the background. Result is: Cropped solid background to the pixels of the product - It detects solid colour around the different pixels of the product accumulated at the middle of the document. For example, we have such option in Gimp: Image > Crop to Content.
  11. Is it possible to export a single macro after it has been recorded and saved?
  12. John Rostron

    Making more Ripples

    I have updated my Ripples macro originally posted under Tutorials. I am now posting under Resources, since it is really delivering a sort-of-finished product rather than a 'How to'. The new version has three parameters: a controls vertical spacing of the ripples. Reducing the a parameter increases the ripple frequency (reduces the wavelength). b controls the horizontal variation of ripple amplitude across the width of the image. Small values of b make the ripples change a lot across the image. For large values (~=1) the changes cycle two or three times across the image. c affects ripple complexity. This is very much a suck-it-and-see parameter. A value of one adds no complexity, a vale of 1 does. Here is an original image (Tewkesbury Mill inverted): And with the macro applid with a-1, b=0.5 and c-0.5: I have to admit that the results I have had with this macro are varied. Sometimes it is very impressive, but for other images it is definitely not! Here is the macro as a single file and as a library: Ripples.afmacro Ripples.afmacros I have been looking at the Distortions macro in the Macro Pack with mixed results. I have got it to perform, but not consistently. It appears to have no visible effect on the Tewkesbury Mill image. John
  13. p_mac

    Studio

    Would it be possible to open Macro and Library at the same time without having to go into Studio each time. Or perhaps I am missing something that already allows this.
  14. John Rostron

    Making Ripples

    I have recently been developing a macro to create ripples in a reflective water surface. Here is an example using the screes besides Wastwater in the English Lake District. The original was a scanned very old slide (with the accompanying loss of quality), but I thought it lent itself to this treatment. I flipped the image of the scree and applied the ripples macro to it before merging the two. John
  15. Hello, I am looking for a way to automate creating of a collage for product photography for several product items. I would have a set of images for each product and I would like to place and resize them into predefined slots of the final collage then export it as a single tiff/jpeg (a rough example is attached). Ideally, there would be a macro that would allow me to select the 5 files in specific order, resize, place in predefined slots on the canvas, apply some border effects and export. I played with the macro functionality, but there does not seem to be a way to open new files or copy/paste from already open files in specific order into the main "template" document. Any thoughts/help would be appreciated. Thanks Tomas
  16. Hey, i was creating basic dodge and burn macro for myself but started thinking that is there way to set shortcut key for macros? Would be awesome.
  17. I love the way some sliders are working, this method allows better and fine controls. But the slider in Live Gaussian Blur is almost at middle when is set at 10px When this control is exposed in a Macro we loose that level of fine control. I wold propose to make it either way but to be the same way in both places because is confusing if you use macros a lot.
  18. I like the power of macros in Photo but in my workflow I use a lot of macros and there is no way to create or organize the most used macros, tools and menu items in a panel. I would love to see something like this implemented in the next version. A great example of something like this made for photoshop you can find here.
  19. unni

    violets and bee

    Camera: D3100 Nikon Lens: Tamron 90mm macro iso 100, f8, 1/125sec, Godox TT600 handheld external flash and X1T-N wireless remote on camera, 1/32 flash power. Camera Handheld. (Left hand flash and right hand camera with left hand fingers supporting camera lens barrel farthest end.) Processing: No settings modified in develop persona. After opening in photo persona, made color adjustments in LAB color space. Back in RGB space, made multiple curves adjustment targeting flower outer petals, inner white petals, greens and bee body. luminosity masks were used for the targeted adjustments. Flattened the layers, took it to LAB, used unsharp mask on lightness channel. Brought back to RGB color space, exported image to jpeg. Image below processed in AP. The second image is without any processing.
  20. I have used equations to resize my images as described in this thread. I use the Parameter a to adjust the final image size to the desired maximum. However the parameters are constrained to lie between zero and one (inclusive). In this macro, zero gives a size of zero and one gives a size of 4000px. The parameter a is a multiplier for 4000 so that 0.2 gives a target of 800px. I have found that it is much more convenient to enter a fraction in the parameter box so, instead of entering 0.2, I can enter 800/4000. All the user has to do is to remember the denominator should be 4000. The ability to enter fractions is documented for other parts of the user interface, but I thought it worth mentioning that it works here as well. John
  21. I was watching a video course on Lynda.com (Advanced Affinity Photo for Desktop) and the video for creating your own macros. The video shows recording a macro where the first step is to create a selection from a layer. When I try that, I get Macro Recorder - Cannot record "Selection From Layer". Am I missing some setting that I need to change to allow this or is it not available on the Windows version? The course appears to be recorded on a Mac version of Affinity.
  22. Hi! I found unusable slider ranges in macro dialogs. I've got frequency separation and Gaussian blur as (combined) interactive steps in one macro. The sliders in the dialog box are barely usable. I usually need to vary the values between 0 and 20, which is only a tiny bit of range at the left edge. A slider movement of 1 screen pixel causes a change of about '6 px' in the radius, but high accuracy (in a .x pixel range) is mandatory. The range of the high pass radius is 0 ... 100 px standalone, but 0 ... 1024 px in the macro dialog, the range of the Gaussian blur radius is 0 ... 100 px standalone, but 0 ... 1024 px in the macro dialog. With identical range and behavior for standalone and macro dialog use, everything would be fine. Workaround welcome, fix preferred, personal error possible. Best regards, Bernd
  23. ---- the settings after running the macro ? Do I need to explain more??
  24. Good Morning All! I am currently attempting to find a replacement for Adobe Fireworks as the business I'm employed by would like to move away from the costs involved with Adobe. We have narrowed it down to Affinity Photo as a necessity to have for the batch function but also a luxury to have the Photoshop capabilities to use on the rare occasion. We had some custom scripts written which we imported into Fireworks. I cannot get the same end result with solely the batch process function within Affinity. Below is the script contents that were written for us for Fireworks. Is it possible to automate this inside Affinity? Essentially we want the option point the batch tool to the files to resize multiple photo file formats into 1000 x 1000 72dpi. For example, If the image is 1000 x 500 before batching, we want the batch program to fill out to 1000 x 1000 with the colour white. We no longer require "makeResize" and only "makeLarge" within the script. var theDoc = fw.getDocumentDOM().filePathForRevert; var origFile = Files.getDirectory(theDoc) + '/' + Files.getFilename(theDoc) var newFile = 'file:///C|/batched/'+Files.getFilename(theDoc, true) makeLarge() makeResize(227, 227, '_m') makeResize(75, 75, '_s') makeResize(40, 40, '_t') Files.deleteFileIfExisting(origFile) function makeLarge() { var oldHeight = fw.getDocumentDOM().height; var oldWidth = fw.getDocumentDOM().width; if (oldHeight > oldWidth) { newWidth = 1000 var temp = oldHeight/newWidth newHeight = oldHeight/temp newWidth = oldWidth/temp } else { newHeight = 1000 var temp = oldWidth/newHeight newWidth = oldWidth/temp newHeight = oldHeight/temp } fw.getDocumentDOM().setDocumentImageSize({left:0, top:0, right:newWidth, bottom:newHeight}, {pixelsPerUnit:72, units:"inch"}, true); fw.getDocumentDOM().setDocumentCanvasSize({left:0, top:0, right:1000, bottom:1000}, true); fw.getDocumentDOM().setDocumentCanvasColor("#ffffff", true); fw.getDocumentDOM().selectAll(); fw.getDocumentDOM().align('center vertical', 'true') fw.getDocumentDOM().align('center horizontal', 'true') var theDoc = fw.getDocumentDOM().filePathForRevert; var theFolder = Files.getDirectory(theDoc) var theFilename = Files.getFilename(theDoc, true) var fullPath = theFolder + '/' + theFilename var theExtension = Files.getExtension(theDoc) fw.exportDocumentAs(null, newFile+'_l', ({applyScale:false, colorMode:"24 bit",exportFormat:"JPEG",jpegQuality:80,jpegSmoothness:0,jpegSubsampling:0,name:"JPEG - Better Quality",numEntiresRequested:0,percentScale:"100",useScale:true,xSize:0,ySize:0})) } function makeResize(height, width, ext) { fw.getDocumentDOM().setDocumentImageSize({left:0, top:0, right:height, bottom:width}, {pixelsPerUnit:72, units:"inch"}, true); fw.getDocumentDOM().setDocumentCanvasSize({left:0, top:0, right:height, bottom:width}, true); fw.getDocumentDOM().setDocumentCanvasColor("#ffffff", true); fw.getDocumentDOM().selectAll(); fw.getDocumentDOM().align('center vertical', 'true') fw.getDocumentDOM().align('center horizontal', 'true') var theDoc = fw.getDocumentDOM().filePathForRevert; var theFolder = Files.getDirectory(theDoc) var theFilename = Files.getFilename(theDoc, true) var fullPath = theFolder + '/' + theFilename var theExtension = Files.getExtension(theDoc) fw.exportDocumentAs(null, newFile+ext, ({applyScale:false, colorMode:"24 bit",exportFormat:"JPEG",jpegQuality:80,jpegSmoothness:0,jpegSubsampling:0,name:"JPEG - Better Quality",numEntiresRequested:0,percentScale:"100",useScale:true,xSize:0,ySize:0})) } Convert for Web.jsf
  25. hubs

    Epic Skies.afmacros

    Would anybody be willing to share their Epic Skies.afmacros with me? It is no longer available for free or purchase from either Affinity or Uplift. Thanks.
×