Re: [Gimp-user] resizing

2019-07-20 Thread Liam R E Quin
On Sat, 2019-07-20 at 20:28 -0400, Helen wrote:
> Sorry!  I meant to say, Is there a way, in GIMP, to size a picture to
> precisely 1.5 megabytes?

For an 8-bit precisoin RGB image like JPEG, each pixel uses 3 bytes of
memory. So the image will be three times bigger than we might expect.

So, divige 1.5 megapixels by 3 and aim for that number.

1.5 megabyets is 1024 * 1024 * 1.5 is 1572864, but we have to divide
that by three, which gives us 524288 pixels.

So it's the same except with a new number:
> > 1. divide 1572864 by the current image width in pixels.
1. divide 524288 by the current image width in pixels.
> > 
> > 2. multiply that number by the image *height* in pixels
> > 3. take the square root of that result
> > 4. put that number into the Height field in Scale Image
> > 5. the Width field should update auomatically

To get the image size in the title bar (it's already in the status bar)
go to Edit->Preferences; under Image Windows near the bottom is Title &
Status. In there at the end of the Image Title Format, add a space and
then (%m) to get the memory size.

I also find it useful to put %EE at the start (with a space after it),
which gives an E if the image has been exported since it was last
changed.

Liam




-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Web slave for vintage clipart http://www.fromoldbooks.org/

___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] resizing

2019-07-20 Thread Liam R E Quin
On Sat, 2019-07-20 at 15:33 -0400, Helen via gimp-user-list wrote:
> I'm submitting a picture that needs to be 1.5 megapixels.   How do I
> tell GIMP that this picture should be 1.5 M?

This is a slightly mathsy reply but i hope the short answer isn't too
intimidating :)

Is it megapixels or megabytes?

If megapixels, that's 1.5 * 1048576 pixels = 1572864 pixels.

Short answer


Open up scale image and note the current width and height of the image
in pixels (set the units to px in the dropdown to the side of Height if
yo uneed to) and then...

1. divide 1572864 by the current image width in pixels.
2. multiply that number by the image *height* in pixels
3. take the square root of that result
4. put that number into the Height field in Scale Image
5. the Width field should update auomatically

Handy Hint: the result of scaling down an image looks bst if it's a
factor of two, so swich units to % and ee. If it's nearly a factor of
two, 51.2%, you'll get a better image by scaling down to 50% and then
if needs be adding a solid border to make up the size.

You may need to sharpen the image after scaling; use LoHalo or NoHalo
as "interpolation" in the Scale Image dialog to see if they give a good
result.

Handy Hint Two: scaling up to make an image larger is asking GIMP to
invent data. It doesn't do a good job at being creative. You can use
the resynthesize plugin to try and do a better job, maybe.

If you needs megabytes, it depends on the bits per pixel, but if 8, the
calculation is similar but for an RGB JPEG image (no transparency) it's
that same number 1572864 divided by three (for red, blue and green
values for each pixel). That's 524288, so use 524288 in the formula to
get megaytes instead of megapixels. I think.

Long answer:


If your current image is w wide and h high, then it is
(w * h / 1048576) megapixels currently.

You need to end up with w * h = 1048576 * 1.5
that is, neww * newh = 1572864

But we want to keep the aspect ratio of the picture when we scale or it
will distort. So, we need that
neww/newh = w/h.

 Armed with this, we can write, by multiplying both sides by neww,
neww = w * newh/h
and, from before,
neww = 1572864 / newh
So,
w * newh/h = 1572864 / newh
multiplying by newh * h and dividing by w we get,
newh * hewh = 1572864 * h / w
So, newh = sqrt(1572864 * h / w)


So, in scale image, in the Height field, use a calculator, substitute
in the current w and h values, do the calculation and take its square
root.



-- 
Liam Quin - web slave for https://www.fromoldbooks.org/
with fabulous vintage art and fascinating texts to read.
Click here to have the slave beaten.

___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] premium editing

2019-07-20 Thread Ken Moffat via gimp-user-list
On Sat, Jul 20, 2019 at 11:37:12PM +0200, bmike1 wrote:
> >I heard there is premium editing. How do you do it in Gimp?
> I forgot to add that it is for property photography.
> 
Nope, still insufficient explanation.

Using google for premium editing finds links such as 'Premium
editing ensures that your manuscript goes through the most intensive
research editing process.'

To be honest, even for photographs it sounds like it would be a (paid
for) service that somebody is offering.

ĸen
-- 
One pill makes you larger, And one pill makes you small.
And the ones that mother gives you, Don't do anything at all.
Go ask Alice, When she's ten feet tall.
   -- Jefferson Airplane, White Rabbit
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] premium editing

2019-07-20 Thread Michael Schumacher
Am 20.07.19 um 23:37 schrieb bmike1:
>> I heard there is premium editing. How do you do it in Gimp?
> I forgot to add that it is for property photography.

A web search for "premium editing property photography" gives me e..g
this 13-tips plan to get good images:

https://blog.phixer.net/real-estate-photography-editing-techniques/

Nothing there is explicitly labeled "premium editing", but the process
as a whole might be known as such.

Can you tell us where you heard this term being used, and by what
person/role?

--
Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] premium editing

2019-07-20 Thread bmike1
>I heard there is premium editing. How do you do it in Gimp?
I forgot to add that it is for property photography.

-- 
bmike1 (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] premium editing

2019-07-20 Thread Patrick Shanahan
* bmike1  [07-20-19 17:33]:
> I heard there is premium editing. How do you do it in Gimp? 

can you explain what "premium editing" is?

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] premium editing

2019-07-20 Thread bmike1
I heard there is premium editing. How do you do it in Gimp? 

-- 
bmike1 (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] resizing

2019-07-20 Thread Michael Schumacher
Am 20.07.19 um 21:33 schrieb Helen via gimp-user-list:

> I'm submitting a picture that needs to be 1.5 megapixels.   How do I tell
> GIMP that this picture should be 1.5 M?  The scaling feature doesn't offer
> me a chance to say that.

Megapixels are a product of (roughly) width times height of an image in
pixels, and as such not really properly specified - there are many ways
to multiply two of these values and arrive at 1.5 megapixels.

Going by the following chart (and assuming 1.4 MP or 1.6 MP are close
enough, and fairly common display size - or at least height -
standards), I'd go with an image of either 1440x960 pixels or 1536x1024
pixels.

https://en.wikipedia.org/wiki/File:Sensoraufl%C3%B6sungen.svg

I'd opt for the former at 1.4 MP, though.

--
Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] resizing

2019-07-20 Thread Helen via gimp-user-list
I'm submitting a picture that needs to be 1.5 megapixels.   How do I tell
GIMP that this picture should be 1.5 M?  The scaling feature doesn't offer
me a chance to say that.
Thanks you,



-- 
Helen Etters
using Linux, suse12.3
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] transparent background becomes black

2019-07-20 Thread Michael Schumacher
Am 17.07.19 um 04:25 schrieb DannyBones:

>> i wasted all day trying everything, and at least 10 tutorials, to fix
>> this error. transparent background saved in jpg or png becomes black.
>> i would really appreciate any help
>
> I think I know what's going on though I can't fix it. I'm having the same 
> issue,
> whenever I export to a JPG, it has aways exported correctly, when I opened the
> JPG, it has a white background. Today, I exported the same file, and and now 
> has
> the black background, which is no good. I went on another computer and 
> exported
> the same file and it works perfectly, white background. So I went and updated 
> to
> the newest version of Gimp, but no dice, it still has it back background. so
> something funny with the computer, or a Gimp glitch.  Maybe a complete 
> uninstall
> will help.

How many layers does the file have in GIMP when you export it, and what
is the background color selector (those two boxes blow the toolbox) set to?

--
Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list