TURNING THE HISTOGRAM INTO A LAYER

Moderator: Kathy_9

Post Reply
ermichalski
Posts: 16
Joined: Mon Oct 24, 2011 2:46 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
ram: 16gb
Location: Ohio USA

TURNING THE HISTOGRAM INTO A LAYER

Post by ermichalski »

I am interested in adding a histogram to every image in a batch and I like how Corel visualizes its image histograms. How can I turn an image histogram into a layer which I could merge with an image?

thanks much in advance,
Ed
JoeB
Posts: 2778
Joined: Fri Mar 28, 2008 10:04 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: LENOVO 4524PE4 ThinkCentre M91p
processor: 3.10 gigahertz Intel Quad Core i5-2400
ram: 8 GB
Hard_Drive_Capacity: 4.6 TB
Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
Location: Canada

Re: TURNING THE HISTOGRAM INTO A LAYER

Post by JoeB »

I actually don't know what you mean by "image histogram", so my reply could be way off base. :-) However, if you are talking about the histogram window that you can open when you click View>Palettes>Histogram (or hit F7), then open that palette and then hold the Alt key and tap the Print Screen key. This will copy that palette to the clipboard. Click on the image titlebar to give it focus and Paste as New Layer, and the image of the Histogram palette will become a layer on your image. You may have to move it to the top of the stack. It can then be moved, resized, etc., like any other layer.
Regards,

JoeB
Using PSP 2019 64bit
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: TURNING THE HISTOGRAM INTO A LAYER

Post by LeviFiction »

Yeah, but they want to be able to do this in batches. Which if you're using the Batch Processor no script will do this because no image is actively opened in the workspace.

So, to answer your question, using batch process it's not possible to add PSP's histogram image to your image as that histogram is drawn dynamically in the workspace and no images are loaded into the workspace with Batch Process.

Now, it might be possible to create a script that when run will open every image in a folder/list, perform the necessary functions and then close the image. But that can quickly get complicated as in a script you won't have the ability to identify the palette as the source of a screenshot. So you'd need to take a full screenshot. Paste as New Layer, use a preset selection to select everything except for the histogram, and delete it. Which, if it goes off canvas will be very hard.

To avoid the issue of going off canvas you could paste as new image and then do the cropping that way. Before copying the newly cropped image over to the current one.

Personally, and I could be wrong, but I don't see any good way to handle this script-wise.
https://levifiction.wordpress.com/
Post Reply