Closed Bug 193039 Opened 22 years ago Closed 21 years ago

Automatic image resizing should enlarge small images

Categories

(Core :: Layout: Images, Video, and HTML Frames, enhancement, P3)

x86
Windows 2000
enhancement

Tracking

()

VERIFIED WONTFIX
Future

People

(Reporter: gorgonz, Assigned: netdragon)

References

Details

(Keywords: helpwanted)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030212
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030212

Maybe it is not a big thing to resize a standalone image even then, when it has
to be enlarged. Just aside this behaviour would be more consequently

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Reporter: 
I can't understand the bug report. Do you speak German?
Assignee: asa → jdunn
Status: UNCONFIRMED → NEW
Component: Browser-General → Image: Layout
Ever confirmed: true
QA Contact: asa → tpreston
Depends on: 190545
I don't want to discriminate based on language, but this is not understandable.
INVALID.

Please try to find somebody who speaks english better (maybe your teacher?) and
let him translate what you want to tell us. Please also describe your problem in
more detail.


(Nicht, daß ich dich aufgrund der Sprache diskriminieren wollte, aber das war
völlig unverständlich. Ich schließe deshalb diese Anforderung.

Such dir bitte jemanden, der etwas besser english spricht (dein lehrer?) und laß
ihn übersetzen, was du uns sagen willst. Bitte beschreibe dein problem / deinen
vorschlag auch genauer.)
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
I think the reporter wants automatic image resizing to scale small images up to
fill the browser window as well as scaling large images down. Personally I think
that would suck but maybe I'm missing the point of the bug report as well.
Yeah, we don't want to enlarge images, just shrink
Alex Bishop described exactly the enhancement, that I wanted to suggest, thx for
Your help!.
 
Sorry, that my diction has been that awful. Of course, it hasn't been my
intention to annoy all of You. And it is the first time here, that I get this
response. I thought, that using an english text might help the project and this
is what I want to do!

Anyway, what is the solution now? Should I stop to do entries here? Should I
write them in german language? What do You expect me to do? There is always a
risk, that I might use the wrong words respective syntax. Or are You willing to
accept, that not everybody, that wants to push the project, speaks a good english?
> Alex Bishop described exactly the enhancement, that I wanted to suggest, thx
> for Your help!.

OK then, as we know what this bug is about now, reopening and resummarising.
However, based on Jan's comment 4, I expect this will be RESOLVED WONTFIX.

> Anyway, what is the solution now? Should I stop to do entries here? Should I
> write them in german language? What do You expect me to do?

I'm not sure what the official policy for Bugzilla language use is. Entering
bugs in German is probably better than not filing them at all. Quite a lot of
Mozilla contributors speak German and would be able to translate. Perhaps you
could try filing bugs with both English and German descriptions.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Summary: [RFE] Resize images also to enlarged kind → Automatic image resizing should enlarge small images
accepted. So, let's go :-)
Alex: Agreed. Both english and german sounds good.

Peter: I understood your second comment #5 a lot better.

I'll keep this around for a while and see what the engineers say about it. I 
can't think of any reason people would want to make an image bigger unless 
they have a 17" monitor at 1600x1200 res. Our image scaling will cause the 
image to look unattractive.
Status: REOPENED → ASSIGNED
QA Contact: tpreston → varga
Jim: Mind if I or Jan take this?
nope feel free to.
and take any other one with mine name on it ;-)
PLEASE!
hehe. Taking.
Assignee: jdunn → netdemonz
Status: ASSIGNED → NEW
As I said before, this is IMHO not very good idea. Enlarged images would look
ugly and we want to keep current behaviour as simple as possible. Browser is not
an image editor.
Whiteboard: WONTFIX?
WONTFIX.
Status: NEW → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → WONTFIX
I'd like to chime in on this issue.  The ability to scale up images is a feature
I've wanted for a long time.  I agree that a scaled up image doesn't look as
good as a true high resolution image, but scaling up an image does make it
easier to view.  Just how "ugly" it is depends on how low res it is to begin
with.  I think you could satisfy everyone by having the browser display the
image at its native size by default, and scale up the image only if the user
clicks on it.  (The opposite of the scale down functionality, sort of.)  I
disagree with the "browser, not an image editor" comment, in that I think this
*is* a browsing feature.  I often browse image galleries and want to see all of
the images scaled up.  Having to save each image and open it in a separate
application, then delete it is a big pain.
Now that I think about it, the Microsoft Image Viewer on Windows allows you to
zoom in and that's very handy for seeing detail some images.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
This probably won't get implemented for a very long time (years) unless you can
find someone who has the time to work on this immediately.
Status: REOPENED → ASSIGNED
Target Milestone: --- → Future
I would like this feature also.

I have gone to websites, selling or displayig things, and on a 17" or 19" LCD
set to 1280x1024, I find it hard to look at little pictures of things being sold
or displayed.  These pictures are more viewable on a small CRT at a lower
resolution.

Yes, I know enlarging images can look "ugly", but it still might be easier to
see pictures of products for sale or on display.

It would be nice to View Image, and be able to then increase it's size.
Also nice, would be to have an option to also increase image sizes on a page
when the text size is increased/decreases/zoomed.
There is no reason why we can't handle this and it is probably not a bad idea.
We could use modifier keys such as SHIFT or CTRL to modify the way we zoom. This
will require a more robustness in zooming capabilities.

A Mozilla image viewer as a seperate application based on GRE would be nice, but
we could provide the base functionality for a robust zoom of stand-alone images
within Mozilla, and someone could simply extend it to provide more features in a
stand-alone image viewer.

We can simply allow CTRL-click to increase image size, and ALT-click to
decrease, and pressing ALT would show a minus cursor, while CTRL would show a +
cursor. Otherwise, you'd see a cursor that represented the opposite of the
current state of being autosized and not autosized (we'd have to create those
two cursors).

Providing something on the level of 13 unique zoom levels would probably be
best, and maintaining zoom state between autosizes would also be a good thing to
have. The final thing we'd probably want is a context menu that shows these 13
possible zoom levels (I chose 13, because that gives us an even number of zoom
states other than 100%). Anything more would probably be best handled in a
seperate GRE-based application as a mozdev project or what-not.

I have changed my opinion that ugliness is a factor. If people want it to look
nice, there is already a bug on bicubic, etc resampling of images. Ugliness of
resized images should not stop us from fixing this bug, imho.


In conclusion, I believe we can handle this, but anything beyond this (such as
being able to define your own zoom levels) should be outsourced to a
full-featured image viewer based on GRE. That means we might want to make this
with the thought in mind that this basic functionality is something that should
be capable of being extended.
Keywords: helpwanted
Priority: -- → P3
Whiteboard: WONTFIX?
Why has this been reopened? Two respected developers have said that this is
WONTFIX, so it is. Claiming that Microsoft's image viewer can zoom in is
interesting but distracting, because it's not built into MS IE. Remarking WONTFIX.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago21 years ago
Resolution: --- → WONTFIX
*** Bug 223090 has been marked as a duplicate of this bug. ***
VERIFIED TOOMUCHBLOAT

Jag, Jan, etc:

I've been thinking that we might be better off making an external image viewer
similiar to picture and fax viewer for Microsoft and somehow embedding the main
frame of that program into the browser window and removing built-in zooming of
Mozilla. It would be a seperate application/component like Chatzilla is, but
with a preference, could override the current document used for image viewing
but without the extra UI that it would have in stand-alone plus maybe a little
button or something to view stand-alone. The current behavior would be adequate
for casual use. I believe shrinking images is a lot more common.

What do you think? How doable would it be to place the frame of a stand-alone
Mozilla-based viewer in the main browser or tab frames in place of nsIImageDocument?
Status: RESOLVED → VERIFIED
Sounds good.
Image documents are created in nsContentDLF.cpp. I think it would be possible
to use some plugin like mechanism to override the default image viewer.
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.