Paste Image Into New [EXT] File

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Paste Image Into New [EXT] File

Post by swan_x »

<Paste Image Into New [EXT] File: Creates a new image file filled with the image (if any) currently on the clipboard. The standard image format is PNG. But you can change this to JPG, GIF, BMP or TIF using a new INI Tweak:
[General]
ImageFromClipFormat=jpg
Allowed values are: png (default), jpg, gif, bmp, and tif. In the case of JPG you can control the quality by appending a number from 1 (worst) to 100 (best) inclusively, for example:
ImageFromClipFormat=jpg100>

i've modify my XYplorer.ini, in 'general' adding ImageFromClipFormat=jpg100....but not work!! why??

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: Paste Image Into New [EXT] File

Post by swan_x »

i have open 'XYplorer.ini', adding 'ImageFromClipFormat=jpg' in 'General', save 'XYplorer.ini', close it.
open XY, and the command not work...ri-open my 'XYplorer.ini', and line 'ImageFromClipFormat=jpg' was deleted!!

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Paste Image Into New [EXT] File

Post by zer0 »

swan_x wrote:i have open 'XYplorer.ini', adding 'ImageFromClipFormat=jpg' in 'General', save 'XYplorer.ini', close it.
open XY, and the command not work...ri-open my 'XYplorer.ini', and line 'ImageFromClipFormat=jpg' was deleted!!
Not sure what went wrong there, but I follow these instructions and they work:
http://www.xyplorer.com/xyfc/viewtopic.php?f=10&t=3543
Give them a go and let us know how it goes. Also, Don has recently reduced the number of GDI objects, so this may be a side effect.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Paste Image Into New [EXT] File

Post by j_c_hallgren »

swan_x wrote: In the case of JPG you can control the quality by appending a number from 1 (worst) to 100 (best) inclusively, for example:
ImageFromClipFormat=jpg100
Where did you see this? I don't see that anywhere in my INI and I'm on 8.50.04...also can't find that anywhere here in forum...Addendum/Update: Found it on wiki! So then where did jacky get this info from?

BTW, you say you are adding this...huh? ...The entry already existed in mine and I just modified it (as result of your post) from PNG to JPG and it worked just fine...Of course, I did an "restart w/o saving" to activate it.
Last edited by j_c_hallgren on 09 Oct 2009 16:31, edited 2 times in total.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Paste Image Into New [EXT] File

Post by zer0 »

j_c_hallgren wrote:Where did you see this? I don't see that anywhere in my INI and I'm on 8.50.04...also can't find that anywhere here in forum.
More info here: http://88.191.26.34/XYwiki/index.php/IN ... ting_Image
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Paste Image Into New [EXT] File

Post by zer0 »

j_c_hallgren wrote:Addendum/Update: Found it on wiki! So then where did jacky get this info from?
I've got an answer to that too 8)

Code: Select all

v6.80.0097 - 2008-03-04 09:39
  +++ Menu Edit | Paste Special: Added "Paste Image Into New [EXT] File" 
      [Ctrl+Shift+Alt+V]. Creates a new image file filled with the image (if 
      any) currently on the clipboard.
      Call it bloat, but me loves this feature and missed it ever since! 
      If you are a visual artist or web hunter it will save you hours of 
      tedious maneuvers.
      The standard image format is PNG. But you can change this to JPG, 
      GIF, BMP or TIF using a new INI Tweak:
        [General]
        ImageFromClipFormat=jpg
      Allowed values are: png (default), jpg, gif, bmp, and tif.
      In the case of JPG you can control the quality by appending a 
      number from 1 (worst) to 100 (best) inclusively, for example:
        ImageFromClipFormat=jpg100
      or:
        ImageFromClipFormat=jpg50
      The default value is 85.
      Note that the GIF quality is very bad (dithered) and practially 
      unusable. The other formats, however, are of high quality.
      This feature requires GDI+.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Paste Image Into New [EXT] File

Post by j_c_hallgren »

Ok...so how come when I try searching for that, all I find is this thread? I've tried a number of text combinations and no hits... :?

Update: Even looking for word "bloat" in beta forum didn't find it...looking for "all results'.

BTW, I just tried making mine "jpg95" and I do see a file size increase.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Paste Image Into New [EXT] File

Post by zer0 »

j_c_hallgren wrote:Ok...so how come when I try searching for that, all I find is this thread? I've tried a number of text combinations and no hits... :?

Update: Even looking for word "bloat" in beta forum didn't find it...looking for "all results'.
I'd hazard a guess this is because the code section of Beta forum is not searchable. Didn't you PM me about this a while ago?
j_c_hallgren wrote:BTW, I just tried making mine "jpg95" and I do see a file size increase.
So it works, then I think the issue due to incorrect editing of INI sequence.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Paste Image Into New [EXT] File

Post by serendipity »

The most important thing after editing ini file and saving it is to:
"Restart XY without saving" (menu "File | Restart without saving").

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: Paste Image Into New [EXT] File

Post by swan_x »

j_c_hallgren wrote:
swan_x wrote: In the case of JPG you can control the quality by appending a number from 1 (worst) to 100 (best) inclusively, for example:
ImageFromClipFormat=jpg100
Where did you see this? I don't see that anywhere in my INI and I'm on 8.50.04...also can't find that anywhere here in forum...Addendum/Update: Found it on wiki! So then where did jacky get this info from?

BTW, you say you are adding this...huh? ...The entry already existed in mine and I just modified it (as result of your post) from PNG to JPG and it worked just fine...Of course, I did an "restart w/o saving" to activate it.
hold F1 (help) search "paste" --- "Paste Image Into New [EXT] File"
edit INI file ---- [General] ImageFromClipFormat=jpg100
but not work!!

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Paste Image Into New [EXT] File

Post by j_c_hallgren »

swan_x wrote:hold F1 (help) search "paste" --- "Paste Image Into New [EXT] File"
edit INI file ---- [General] ImageFromClipFormat=jpg100
but not work!!
Ok...never looked in Help :roll:
Just did a forum search initially and no results, and found that zer0 is correct that it doesn't look in "Code" which I'd forgotten, and also seems that NavBar Search on Blogspot has issues as well so finding it on my blog disn't work as well...

However, I just set mine to jpg100, and it worked just fine...so must be something wrong in how you're applying the tweak or something peculiar to your system.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: Paste Image Into New [EXT] File

Post by swan_x »

I just set mine to jpg100, and it worked just fine...
where "I just set mine to jpg100" ?? in INI files ???

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: Paste Image Into New [EXT] File

Post by swan_x »

serendipity wrote:The most important thing after editing ini file and saving it is to:
"Restart XY without saving" (menu "File | Restart without saving").
i have save my INI file modified and "Restart XY without saving" but XY ri-open delete my line
'ImageFromClipFormat=jpg100'.......

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Paste Image Into New [EXT] File

Post by zer0 »

swan_x wrote:i have save my INI file modified and "Restart XY without saving" but XY ri-open delete my line
'ImageFromClipFormat=jpg100'.......
Just to remove as much confusion as possible, can you please try this script for your particular INI tweak
http://www.xyplorer.com/xyfc/viewtopic. ... 467#p32467
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Re: Paste Image Into New [EXT] File

Post by avsfan »

swan_x wrote:
I just set mine to jpg100, and it worked just fine...
where "I just set mine to jpg100" ?? in INI files ???
First, save your existing configuration (Ctrl-Alt-Shift-S or menu File->Settings->Save Configuration).
Second, click menu Tools->Open Configuration File
Third, find "ImageFromClipFormat" in the configuration file
Fourth, change the value to whatever you want i.e. "ImageFromClipFormat=jpg90" for a jpg with quality 90
Fifth, Save the configuration file in Notepad
Sixth, in XY, click File->Restart Without Saving

That should do the trick...

I hope this helps!

andy

Post Reply