Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 10, 2016, 02:59:52 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Unusual behaviour with Copy/Paste [in SC]  (Read 3278 times)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 10,341
    • View Profile
    • Donate to Member
Unusual behaviour with Copy/Paste [in SC]
« on: January 28, 2015, 06:52:34 AM »
I select part of an image, copy, and paste it elsewhere in the same image (png):

a)
#1. the quality is not as sharp as originally - it's quite blurry actually.
#2. I do notice that, if I click and drag over an area including the pasted bit, that it momentarily shows as sharp as the original.
#3. if I view the image elsewhere (viewer/photoshop), the pasted part is not sharp
-
#2 above makes me think that the quality of the paste could possibly be made as good as the original image (?)

b)
There is unusual behaviour when cropping the image cuts part of the pasted clip - *all* of the pasted clip continues to show in SC. The thumbnail correctly shows this pasted part cropped, and it also shows correctly in other viewers I tried.
Which seems okay, but if something is being cropped e.g. for privacy reasons, I presume that if I can see it in SC, then others would be able to see it in SC or possibly elsewhere (?)
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,431
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #1 on: January 28, 2015, 08:19:32 PM »
Ok so let's see what light we can shed here:

When you paste an image onto another image in screenshot captor, you are creating a "bitmap object" that floats on top of the image, which can be resized, moved, deleted, etc.

The fact that the pasted image is an object explains the odd behavior you are seeing regarding cropping, etc.

Now the blurriness -- that may be my code antialiasing the bitmap object when it shouldn't -- i will look into that.

How to avoid the oddities you are encountering?  After pasting the bitmap, and getting it exactly how you want it, go to the Objects menu and choose to "flatten all objects to background".  This will merge in the pasted image into the main one.  All future cropping will proceed as you expect -- though note that you will no longer be able to move/scale the pasted object.

Let me know if it still seems blurry after you merge to the background.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 10,341
    • View Profile
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #2 on: January 29, 2015, 02:36:56 AM »
How to avoid the oddities you are encountering?  After pasting the bitmap, and getting it exactly how you want it, go to the Objects menu and choose to "flatten all objects to background".  This will merge in the pasted image into the main one.  All future cropping will proceed as you expect -- though note that you will no longer be able to move/scale the pasted object.

Let me know if it still seems blurry after you merge to the background.

ah, very good - that sorts any privacy worries anyway :up:

But it is still blurry when flattened - does look like anti-aliasing
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,431
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #3 on: January 29, 2015, 02:40:47 AM »
ok i shall try to fix that.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,431
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #4 on: January 29, 2015, 02:41:42 AM »
Quote
that sorts any privacy worries anyway

the full bitmap object you paste can only be found in the extra .objects file anyway; if you shared the png file it would only contain what you can see in the png.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 10,341
    • View Profile
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #5 on: January 29, 2015, 02:52:01 AM »
i shall try to fix that.
Quote
that sorts any privacy worries anyway

the full bitmap object you paste can only be found in the extra .objects file anyway; if you shared the png file it would only contain what you can see in the png.

okay, thanks mouser
Tom

ralfs

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 62
    • View Profile
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #6 on: January 29, 2015, 06:08:23 AM »
In my copy-workflow I recognized that the dropped file is inserted smaller than the original size (tested with two identical screenshots) (picture 1).
After setting size to 100% the dropped object is still sharp as the original (picture 2).
But after "flatten all objects to backround" you can see that the inserted picture is a little bit blurred (picture 3).
Ralf

dluby

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 220
    • View Profile
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #7 on: January 29, 2015, 06:15:10 AM »
I too can confirm that flattening the objects makes the pasted image blurry.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,431
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #8 on: January 29, 2015, 08:44:25 AM »
Ok I will fix. :up:

ralfs

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 62
    • View Profile
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #9 on: March 12, 2015, 04:47:52 AM »
Hi Mouser,

what's about this topic?
In new beta 4.94.flattening of objects still makes the pasted image blurry.
Ralf

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,431
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #10 on: March 12, 2015, 09:01:39 AM »
working on it now, thanks for reminder.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,431
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #11 on: March 12, 2015, 09:30:40 AM »
Please redownload the beta -- should be fixed now.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,431
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #12 on: March 12, 2015, 07:19:47 PM »
wake up people!

ralfs

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 62
    • View Profile
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #13 on: March 13, 2015, 12:31:36 AM »
Sorry, sometimes you're incredible fast  ;D

Yes, in the new beta the blurry problem is away  :Thmbsup:

Thank you!
Ralf

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,431
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #14 on: March 13, 2015, 04:11:32 AM »
Great  :up:

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 10,341
    • View Profile
    • Donate to Member
Re: Unusual behaviour with Copy/Paste [in SC]
« Reply #15 on: March 27, 2015, 08:25:32 AM »
[belated] thanks for the fix :Thmbsup:
Tom