beatrixwillius Posted March 30, 2021 Share Posted March 30, 2021 Hi, how do I remove margins from images? For whatever reason my MacBook Air with Big Sur/M1 still makes screenshots with shadow even after doing a Terminal command to get rid of the shadows. Of course, I can remove the shadows manually. But do a lot of screenshots. Therefore, I want to do a macro in Affinity Photo. But I can only add margins and not remove them. Did I overlook anything? Quote Link to comment Share on other sites More sharing options...
carl123 Posted March 30, 2021 Share Posted March 30, 2021 1. Can you upload a screenshot with the margins(?) you want to remove via a macro 2. Are all your screenshots the same size? Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time. Link to comment Share on other sites More sharing options...
beatrixwillius Posted March 30, 2021 Author Share Posted March 30, 2021 1. Sure, h ere are 2 typical screenshots from my application. 2. The screenshots don't have the same sizes. But the shadow seems to have the same size each time. Quote Link to comment Share on other sites More sharing options...
carl123 Posted March 30, 2021 Share Posted March 30, 2021 I don't use a Mac but I can see the problem Try this macro on a few screenshots to see if it does what you want Install it via the Library panel nuketheshadows.afmacros Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time. Link to comment Share on other sites More sharing options...
loukash Posted March 30, 2021 Share Posted March 30, 2021 2 hours ago, beatrixwillius said: even after doing a Terminal command to get rid of the shadows This? defaults-write.com/disable-screenshots-shadow-mac Could be that something has changed in Big Sur. I can't tell as I don't have a Big Sur compatible Mac. Otherwise try bresink.com/osx/TinkerTool.html which is always being updated for the current MacOS. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
beatrixwillius Posted March 30, 2021 Author Share Posted March 30, 2021 @carl123: Thanks, I'll try the macro. @loukash: I tried several times with the Terminal command. I've used in on all versions of macOS that came before BS. TinkerTool uses the same Terminal command under the hood and correctly shows that the shadows are off. And I still get the shadows. Quote Link to comment Share on other sites More sharing options...
loukash Posted March 30, 2021 Share Posted March 30, 2021 Just now, beatrixwillius said: TinkerTool uses the same Terminal command under the hood Of course. Just now, beatrixwillius said: And I still get the shadows. That's weird. A Bug Sur big? … er, I mean: a Big Sur bug? On El Capitan, this setting is stored in ~/Library/Preferences/com.apple.screencapture.plist Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
Old Bruce Posted March 30, 2021 Share Posted March 30, 2021 7 hours ago, beatrixwillius said: how do I remove margins from images? When I make the screen shot I use the Option Key held down when I click on the window and that gets rid of the shadow. Standard Mac OS Command + Shift + 5 then the option when I go to click. loukash 1 Quote Mac Pro (Late 2013) Mac OS 12.7.1 Affinity Designer 2.2.1 | Affinity Photo 2.2.1 | Affinity Publisher 2.2.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
Jeremy Bohn Posted March 30, 2021 Share Posted March 30, 2021 4 hours ago, loukash said: This? defaults-write.com/disable-screenshots-shadow-mac Should be this: defaults write com.apple.screencapture disable-shadow true killall SystemUIServer From MacWorld Quote Link to comment Share on other sites More sharing options...
loukash Posted March 30, 2021 Share Posted March 30, 2021 4 minutes ago, Jeremy Bohn said: From MacWorld Speaking of adding a bitmap border, Fleishman is wrong that you'd need to buy a 3rd party app to add one. You can do that in Preview as well: make your window screenshot directly to clipboard open Preview > New From Clipboard Tools > Adjust Size > add a few pixels for each side (stretches the images but don't worry) add a solid color rectangle that covers the whole screenshot (I said don't worry!) paste (see? you didn't need to worry because the screenshhot was still on the clipboard) center the pasted screenshot save Either that, or if you don't mind to crop a few pixels from your screenshot, simply add a rectangle with a border but without a fill directly over the the captured screenshot. Preview is more powerful than most people think. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
jmwellborn Posted March 30, 2021 Share Posted March 30, 2021 I have the IT qualifications of a squirrel (or maybe less) but could this be the answer? Tried on my MacBook Pro, Big Sur, M1 chip. Quote 24" iMAC Apple M1 chip, 8-core CPU, 8-core GPU, 16 GB unified memory, 1 TB SSD storage, Ventura 13.6. Photo, Publisher, Designer 1.10.5, and 2.2.1. MacBook Pro 13" 2020, Apple M1 chip, 16GB unified memory, 256GB SSD storage, Ventura 13.6. Publisher, Photo, Designer 1.10.5, and 2.1.1. iPad Pro 12.9 2020 (4th Gen. IOS 16.6.1); Apple pencil. Wired and bluetooth mice and keyboards. Link to comment Share on other sites More sharing options...
loukash Posted March 30, 2021 Share Posted March 30, 2021 @jmwellborn, both cmd-shift-4 methods are correct as is. The issue discussed herein is that there's a hidden option to disable the window shadow for the spacebar-click method. This is possible either via command line or via 3rd party utilities since… uh don't remember… decades, but it doesn't seem to work for @beatrixwillius on Big Sur. But: For what it's worth, I have temporarily disabled the hidden preference and checked @Old Bruce's suggestion about the option key. And, lo & behold, it works. At least on El Capitan. Didn't know that. So, to create a window screenshot without the window shadow using the standard setting:cmd-shift-4 + spacebar (camera icon) + option-click In any case: if you want to change the hidden preference either via command line or via TinkerTool, you must then either log out or restart the SystemUI Server for the change to take effect. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
Old Bruce Posted March 30, 2021 Share Posted March 30, 2021 24 minutes ago, jmwellborn said: I have the IT qualifications of a squirrel (or maybe less) but could this be the answer? me too... This is on Mac OS 10.14.6 Command + Shift + 4 hold space bar and Option No shadow. R C-R 1 Quote Mac Pro (Late 2013) Mac OS 12.7.1 Affinity Designer 2.2.1 | Affinity Photo 2.2.1 | Affinity Publisher 2.2.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
jmwellborn Posted March 30, 2021 Share Posted March 30, 2021 Thanks @loukash and @Old Bruce! Hooray! New wrinkle. Works like a charm in both High Sierra (iMac) and Big Sur (MacBook Pro). Who knew? I'm back to scrounging for acorns!🐿️ Quote 24" iMAC Apple M1 chip, 8-core CPU, 8-core GPU, 16 GB unified memory, 1 TB SSD storage, Ventura 13.6. Photo, Publisher, Designer 1.10.5, and 2.2.1. MacBook Pro 13" 2020, Apple M1 chip, 16GB unified memory, 256GB SSD storage, Ventura 13.6. Publisher, Photo, Designer 1.10.5, and 2.1.1. iPad Pro 12.9 2020 (4th Gen. IOS 16.6.1); Apple pencil. Wired and bluetooth mice and keyboards. Link to comment Share on other sites More sharing options...
R C-R Posted March 30, 2021 Share Posted March 30, 2021 3 hours ago, Old Bruce said: Command + Shift + 4 hold space bar and Option No shadow. Nice tip! Surprisingly, using the option with the spacebar is not mentioned in https://support.apple.com/guide/mac-help/take-screenshots-or-screen-recordings-mh26782/10.15/mac/10.15 (or in any of the other OS versions it covers). Quote All 3 1.10.8, & all 3 V23.0 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
beatrixwillius Posted March 31, 2021 Author Share Posted March 31, 2021 18 hours ago, loukash said: Of course. That's weird. A Bug Sur big? … er, I mean: a Big Sur bug? On El Capitan, this setting is stored in ~/Library/Preferences/com.apple.screencapture.plist Yup. Seems so. Going to make another Feedback report. Because they already fixed so many of my bugs. The trick with the option key uses too many of my fingers. The macro works fine! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.