Gwenview display images blurry
Hi,
I have a strange problem with gwenview for a quite long time. It displays some high resolution images kind of blurry.
Today I resized some photos using imagemagick( convert -resize 75% ) from 4500x6000 pix. While the original photos was displayed by gwenview nice and clear, the resized ones looked blurry.
I tooked screenshots, here is the difference:
The one of the left side is the original 4500x6000 pix jpg, the one on the right side is the resized one at 3000x4000pix.
I opened the same files with gqview, and both of them was displayed clear.
The left side cut from the original, the right side from the resized.
With showphoto also both display clear:
So i don't think that the problem was with resize operation, but with gwenview's jpeg rendering. It also happend that it displayed images blurry wich were not resized.
I'm currently using kde 4.4.3, but I observed the same with all the versions of kde4 and gwenview4 ( I used 4.3, 4.2, 4.1, 4.0 )
I believe you put HTML "pre" tags around your quote (with square brackets, I can't type them here because they'll be escaped).
If the example below looks formatted then using "pre" works, if not...then ignore me ;)
begin
select
count(*)
into
v_count
from big_table;
end;
Similar Messages
-
Photoshop CC displays images 25% smaller than other apps?
Why is Photoshop CC displaying images 25% smaller than my other applications? If I open a 72 ppi square pixel aspect image in Photoshop, I have to zoom to 125% for it to be the same size on screen as in my browser or any other image viewer. Photoshop reads the correct pixel sizes, but displays it smaller.
I design and build websites and have been using Photoshop for over 15 years and haven't noticed this until CC. If I save the images and build out the site, or even just drag the image into a browser and then overlay that browser window above the Photoshop window to see both images side by side, I can clearly see a 25% difference in size.
If I zoom in Photoshop to 125%, then the sizes match. So, the problem is when designing a website, everything looks smaller in photoshop. Then when I build it out, everything is way too big.
My browsers are definitely at 100% zoom and I can open the image in any other image viewer at 100% and the affect is the same.
Is there a setting that can be adjusted in Photoshop to correct this?I also have the same issue. I can reporoduce exactly what Roger2012Jr mentions above.
I have Photoshop CC, Windows 8.1, screen resolution 1920 x 1080. Files look really sharp in Photoshop, but when the file is exported (for web or not) the image is blurry and about 125% the size it was in Photoshop. Also, when I bring an image from the web, tried with a random image it still looks perfectly sharp in Photoshop, just about 80% actual size. That same image exported still looks perfect in the browser, same as it was originally.
So starting from scratch with an image, there's no way to guarantee the quality when exported and quality looks really blurry. I can't use the program with any sense of confidence.
Can someone from Adobe shed any light on this? -
Display Problem - some applicatio​ns are displayed very blurry
Hello, I have a Thinkpad L 540 with Win 8 Pro and some applications are displayed very blurry.
What should I do ? Win 7 has no problems with it.
Thanks for your help
Here an example:
Link to image
Moderator note: images totalling more than 50k converted to links per forum rules: Lenovo Community Participation RulesAh, so you have a first-gen model from the looks of it. If I might make a suggestion, please update your tagline as follows to assist others in helping you:
MBP (Early 2006)
You can expand upon this as you like.
Perhaps I wasn't reading the original post, but what version of Windows were you running at the time?
As I recall, that model line of MacBook Pros needed an EFI firmware update to operate Boot Camp. Before the mid-2006 speed bump, these models also needed an SMC firmware patch. With the EFI update, your "Boot ROM revision" should be MBP11.0055.B08
If you can boot to Safe Mode, try using the Add/Remove Programs or Programs and Features applet in your Control Panel to uninstall the ATI driver properly. Should that fail, search out "ATI Catalyst Uninstaller" using your favorite Web crawler. The first thing to come up should be AMD's uninstall tool, which you can then run to get rid of the driver.
Once you've done this, reinstall the ATI software from your Leopard/Boot Camp DVD and re-run the Boot Camp 2.1 patch from the Web; this should properly update the ATI software and get you back on track.
We would also need to rule out whether a recent update caused this issue, in which case rolling back to a prior restore point may help. You may lose documents created between the restore point time and the present, but this is normal.
The only other possibility I can suggest is to rebuild your entire Boot Camp setup and take notes as you get back up to the point where the blackout occurred. This way, you'll have some documentation handy whether you repost here or contact Apple directly.
Good luck,
Nate
Message was edited by: Nathan Alden -
Open and display image in MVC layout
Hello!
I cant figure out how I shall do this in an MVC layout:
The program request user to open an image file that are then displayed in a JLabel
My setup at the moment resolve in a nullpointerexeption because it dont get any actual image file, but I dont understand what I have missed.
I can not post the whole code fo you to run because it is to big, so I post the part that are the most important. please have a look.
PicturePanel
//Import Java library
import javax.swing.*;
import java.awt.*;
public class PicturePanel extends JPanel {
//Variables
private ImageIcon picture;
//Method to get information of the selected file
PicturePanel (String fileName) {
picture = new ImageIcon (fileName); //Get the filename
int w = picture.getIconWidth(); //Get the image with
int h = picture.getIconHeight(); //Get the image height
//Set preferable size for the image (Use the properties for the selected image)
setPreferredSize(new Dimension(w, h));
setMinimumSize(new Dimension(w, h));
setMaximumSize(new Dimension(w, h));
//Method to draw the selected image
protected void paintComponent(Graphics g) {
super.paintComponent(g); //We invoke super in order to: Paint the background, do custom painting.
g.drawImage(picture.getImage(), 0, 0, this); //Draw the image at its natural state
}From my model:
//Local attributes
boolean check = false; //Used to see if a statement is true or not
PicturePanel pp;
JFileChooser fc;
int returnVal;
//newFile in File menu
public void newFile() {
//Open a file dialog in users home catalog
fc = new JFileChooser();
//In response to a button click:
returnVal = fc.showOpenDialog(pp);
System.out.println("You pressed new in file menu");
}From my controler:
//User press "New" in File menu
else if (user_action.equals("New")) {
//Call method in model class
model.newFile();
//Update changes
if (model.returnVal == JFileChooser.APPROVE_OPTION) {
System.out.println("Hello1");
File f = model.fc.getSelectedFile();
if (model.pp != null)
model.pp = new PicturePanel(f.getAbsolutePath());
System.out.println("Hello2");
//Display image (Here is line 83)
view.setImage_DisplayArea(model.pp);
System.out.println("Hello3");
}From my view:
//Sets the image to be displayed on the image_display area (Here is line 302)
public void setImage_DisplayArea(PicturePanel pp) {
image_display.add(pp);
}The complet error:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at java.awt.Container.addImpl(Container.java:1015)You pressed new in file menu
Hello1
Hello2
at java.awt.Container.add(Container.java:351)
at View_Inlupp2.setImage_DisplayArea(View_Inlupp2.java:302)
at Control_Inlupp2.actionPerformed(Control_Inlupp2.java:83)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1050)
at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1091)
at java.awt.Component.processMouseEvent(Component.java:5602)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3129)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1801)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)Edited by: onslow77 on Dec 16, 2009 5:00 PM
Edited by: onslow77 on Dec 16, 2009 5:04 PMHello again!
Anyone that can help me figure out how to implement this in an MVC layout, I feel stuck.
I post a little program that open and display an image file so that you better can understand what I whant to do.
ShowImage
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.File;
import javax.swing.filechooser.*;
public class ShowImage extends JFrame{
//Variables
JFileChooser fc = new JFileChooser();
PicturePanel pp = null;
ShowImage () {
super("Show"); //Title
//Create the GUI
JPanel top = new JPanel();
add(top, BorderLayout.NORTH);
JButton openBtn = new JButton("Open");
top.add(openBtn);
openBtn.addActionListener(new Listner());
//Settings for the GUI
setDefaultCloseOperation(EXIT_ON_CLOSE);
pack();
setVisible(true);
class Listner implements ActionListener {
public void actionPerformed(ActionEvent ave) {
int answer = fc.showOpenDialog(ShowImage.this);
if (answer == JFileChooser.APPROVE_OPTION){
File f = fc.getSelectedFile();
//Check
System.out.println(f);
System.out.println(pp);
if (pp != null)
remove(pp); //Clean so that we can open another image
//Check
System.out.println(pp);
//Set the PicturePanel
pp = new PicturePanel(f.getAbsolutePath());
//Check
System.out.println(pp);
//Add PicturePanel to frame
add(pp, BorderLayout.CENTER);
validate();
pack();
repaint();
//Main
public static void main(String[] args) {
new ShowImage();
}PicturePanel
//Import Java library
import javax.swing.*;
import java.awt.*;
public class PicturePanel extends JPanel {
//Variables
private ImageIcon picture;
//Method to get information of the selected file
PicturePanel (String fileName) {
picture = new ImageIcon (fileName); //Get the filename
int w = picture.getIconWidth(); //Get the image with
int h = picture.getIconHeight(); //Get the image height
//Set preferable size for the image (Use the properties for the selected image)
setPreferredSize(new Dimension(w, h));
setMinimumSize(new Dimension(w, h));
setMaximumSize(new Dimension(w, h));
//Method to draw the selected image
protected void paintComponent(Graphics g) {
super.paintComponent(g); //We invoke super in order to: Paint the background, do custom painting.
g.drawImage(picture.getImage(), 0, 0, this); //Draw the image at its natural state
}//The endEdited by: onslow77 on Dec 16, 2009 7:30 PM -
Hi everyone, I am a newbie for labview. I just wanna ask you about image display in labview. Now I can display one image in my front panel. I open the file path and display it. First thing I wanna do is that is it possible to display on monitor full screen not on front panel and second thing is that how can I display images in folder and display it about 2 seconds delay in between? Pls kindly help me.
Thanks millions.
Solved!
Go to Solution.Hi there,
-I don't know whether the image full display can be possible or not, Any reason why you are asking for such requirement?
-The other question about reading files in a folder and display for 2sec can be done like shown in image.
-I've attached vi in lv 12 if needed.
-Next time, please post your vision related queries in Machine vision Board.
Thanks
uday,
Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
Certified LabVIEW Associate Developer (CLAD) Using LV13
Attachments:
Image_read_folder.vi 43 KB -
Display image in java.awt.List
hello guys,
How i can display image in java.awt.List means listbox. give me sample code. if you have
Waiting for your favorable reply.
Regards,
Bhavesh Kharwajava.awt.List you can not.
javax.swing.JLast you can. -
How to create a report in Form line Style and can display Image field?
Hi,
In Report builder 10g, I would like to create a Report with Form Line Style and this report included a Image field.
I can choose this Style only when Select Report type is Paper Layout. Because, If I choose Create both Web & Paper Layout or Create Web Layout only then in the next Style tab 03 option Form, Form letter and Mailing Label be Disabled.
But in Paper Layout, my report can not display Image field.
I tried with Web layout and all the other Styles (Except 03 mentioned be Disabled) then all Styles are displayed Imager field OK.
How to create a report in Form line Style and can display Image field?
I was change File Format property of my Image field from text to Image already in Property Inspector. But report only showed MM for my Image field.
Thanks & regards,
BACH
Message was edited by:
bachnpHere you go..Just follow these steps blindly and you are done.
1) Create a year prompt with presentation variable as pv_year
2) Create a report say Mid report with year column selected 3 times
- Put a filter of pv_year presentation variable on first year column with a default value say @{pv_year}{2008}
- Rename the second time column say YEAR+1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)+1
- Rename the second time column say YEAR-1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)-1
Now when you will run Mid Report, this will give you a records with value as 2008 2009 2007
3) Create your main report with criteria as Year and Measure col
- Change the fx for year column as CAST(TIME_DIM."YEAR" AS INT)
- Now put a filter on year column with Filter based on results of another request and select these:
Relationship = greater than or equal to any
Saved Request = Browse Mid Report
Use values in Column = YEAR-1
- Again,put a filter on year column with Filter based on results of another request and select these:
Relationship = less than or equal to any
Saved Request = Browse Mid Report (incase it doesn't allow you to select then select any other request first and then select Mid Report)
Use values in Column = YEAR+1
This will select Year > = 2007 AND Year < = 2009. Hence the results will be for year 2007,2008,2009
This will 100% work...
http://i56.tinypic.com/wqosgw.jpg
Cheers -
Problem Displaying Images in a JFrame
I am writing a program that displays images on a JFrame window. I have been reading the other postings about this topic however I have not been able to make my code work. I am hoping there is some obvious solution that I am not noticing. Please help, I am very confused!
public class WelcomeWindow {
private JLabel label;
private ImageIcon logo;
public WelcomeWindow() {
label = new JLabel();
logo = new ImageIcon("/images/logo.gif");
label.setIcon(logo);
this.getContentPane().add(label);Instead of a JLabel, have you tried to use a JButton containing the Icon?
Also (but I think you've done it already), you could do that :
File iconFile = new File("/images/logo.gif");
if (!iconFile.isFile()) {
System.out.println("Not a file");
That way you'll be certain that the path given is correct.
Hope this helps. -
Display image in sub_VI
I am running a Linux (no NI Vision support) LabVIEW application where I have a “main” DAQ VI collecting raw u8 data. I want to be able to display the data as an image in a sub-VI. The first time I call the sub-VI to display the first image everything works fine, however, on the second and subsequent calls to the sub-VI I get an error saying that the sub-Vi is already open and needs to be closed before being called. I don’t have the screen space to adequately display images in the main VI and still have the DAQ controls visible.
Is there a way to have one VI continuously collect and format image data and then display the data in a second VI?
Thanks in advanceThank you for the reply
In the example you provided the sub-VI is called, executes, and terminates. I need to be able to repeatedly call a sub-VI that does not terminate. I need to do this so that I can update an image and allow an operator to view the image (and perform event functions on the image such as mouse click).
Is there a way for a main VI to call a sub-VI and not have to pend (wait) for the sub-VI to complete execution?
Is there a way to call (i.e. pass data) to a sub-VI that is already running?
Thank you again for your help -
How can i Display images with may own table
Hi
I want display images with my own table. How can I use in this query.
SELECT '<a href="#" onclick="javascript:'
|| 'getImageHeight(''my_img'
|| '#ROWNUM#'');javascript:redirect'
|| '(''f?p=&APP_ID.:212'
|| ':&SESSION.:DISPLAY:NO::P212_IMAGE_ID:'
|| ID
|| ''');">'
|| '<img src="#IMAGE_PREFIX#edit.gif" '
|| 'alt="Edit"></a>' ID,
'<img id="my_img'
|| '#ROWNUM#" src="#WORKSPACE_IMAGES#'
|| filename
|| '"/>' image
FROM wwv_flow_filesThanks
Nr
Edited by: user10966033 on Sep 28, 2009 1:41 PMYou don't use #workspace_images# since that is for STATIC files, not images in a table..
see this thread for help: Re: Display image from blob
Thank you,
Tony Miller
Webster, TX -
Display image in classical report
Experts,
Please share how to display image stored in SO10 in to a classical report??Hi
check this
In the transaction OAOR, you should be able to insert your company Logo.
GOTO - OAOR (Business Document Navigator)
Give Class Name - PICTURES Class Type - OT..... then Execute
It will show you the list, then select ENJOYSAP_LOGO.
On that list, you will find one control with a "create" tab.
Click std. doc types.
Select SCREEN and double-click.
It will push FILE selection screen.
Select your company logo (.gif) and press OK.
It will ask for a description- for instance: "company logo".
It will let you know your doc has been stored successfully.
You can find your logo under ENJOYSAP_LOGO->Screen->company logo.
Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.
FORM TOP-OF-PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = HEADING[]
I_LOGO = 'ENJOYSAP_LOGO'
I_END_OF_LIST_GRID ='GT_LIST_TOP_OF_PAGE'.
ENDFORM. "TOP-OF-PAGE
Here 'ENJOYSAP_LOGO' will replace by ur created logo.
Refer this link
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm
http://www.sap-img.com/abap/alv-logo.htm
http://www.sap-img.com/fu002.htm
Re: Logo on Login screen
Re: To change image into main menu of sap
Regards
Anji -
Display image in detail groups in jheadstart 11.1.1.3.35
Hi, I've been trying to make a project that should display one picture in one of the detail groups. but when i generate the jheadstart definition editor and run the project, it shows an empty box for the image (image is not loaded).
I've seen the source code and every thing seems right and when i use that detail group as a master group the image display just fine.
is jheadstart 11g have a problem for displaying image in detail groups? because I've heard this option works in 10g pretty fine.
please help me how i can fix this problem and i have to say my project deadline is coming :(We are not aware of such a problem.
To really check whether it is related to a detail group, can you temporarily make the detail group a top-level group, generate and run your application to see whether the problem goes away?
Make sure you first uncheck the Same Page checkbox before you drag and drop the detail group to become a top group.
There is a known ADF issue that when you upload a new image, the new image is only shown when you restart the session.
Steven Davelaar,
JHeadstart Team. -
Hi,
My requirement is to create a web dynpro application where the first view contains all images stored in ECC along with one button (Display image). When the user clicks on the button Display image then another view should display the image on the screen.
I have created View1 with a table,which display the details of the table STXBITMAPs in it,when i select a row and press a button second view is displayed with a UI conatiner of type IMAGE.
Basiccaly when button on view1 is pressed, I get the value of the TDNAME field via lead_selection method and set this value to a global attribute, whch inturn is copied into second view and bonded to the SOURCE attribute of the UI element.
My problem is , that global attribute is being updated probley and value have been passed to second view..but Image is not being displayed on the screen.
Can anyone help me out in this.
Thanks in advance.
PoojaYou don't necessarily have to move your images from STXBITMAPS to the MIME repository. You can display any image - not just those in the MIME repository, by placing the content in the ICM Cache. This creates a temporary URL for any content. So you just need to read the binary content of the image from STXBITMAPS into a XSTRING variable. From there you can use this code sample to put the content in the cache and generate a URL:
****Create the cached response object that we will insert our content into
data: cached_response type ref to if_http_response.
create object cached_response
type
cl_http_response
exporting
add_c_msg = 1.
* cached_response->set_compression( options = cached_response->IF_HTTP_ENTITY~CO_COMPRESS_IN_ALL_CASES ).
try. " ignore, if compression can not be switched on
call method cached_response->set_compression
exporting
options = cached_response->co_compress_based_on_mime_type
exceptions
others = 1.
catch cx_root.
endtry.
****set the data and the headers
data: l_app_type type string.
data: l_xstring type xstring.
cached_response->set_data( me->gx_content ).
l_app_type = 'image/x-ms-bmp'.
cached_response->set_header_field( name = if_http_header_fields=>content_type
value = l_app_type ).
****Set the Response Status
cached_response->set_status( code = 200 reason = 'OK' ).
****Set the Cache Timeout - 60 seconds - we only need this in the cache
****long enough to build the page and allow the IFrame on the Client to request it.
cached_response->server_cache_expire_rel( expires_rel = i_cache_timeout ).
****Create a unique URL for the object
data: guid type guid_32.
call function 'GUID_CREATE'
importing
ev_guid_32 = guid.
concatenate i_path '/' guid '.' i_format into r_url.
****Cache the URL
cl_http_server=>server_cache_upload( url = r_url
response = cached_response ). -
Hi,
I want to display image link in one of the columns in report.
ex: if i click that image it should go to google maps.
I stored the image in /res/s_protal/image.jpg and also in oc4j.
I know to fmap to show it only once.
but i want to reflect it in all the rows of a column.
Things i tried:
Stored in the same machine took the ip addres and prot and given as below it was working.
But if i move it to other machines then it getting failed so again i want to update the machine ip.
http://225.225.225.225:9704/analytics/res/s_proact/images/images.jpg
Is there any possible way to give some common syntax so that the corresponding machine ip will be pointed once the
report moved to different machines.
Thanks,
satheeshHi Santeesh,
I just saw your post and I thought I'd ask you with my query:
I want to add some pop-up info on some of the data when the user hover on it. have you
got a clue what do I need to do for that?
Cheers,
Yonatan -
Display image in JPanel without saving any file to disk
Hi,
I am fetching images from database. I am saving this image, display in JPanel and delete it. But this is not actually I want.
I wish to fetch this image as stream , store in memory and display in JPanel without saving any fiel in disk.
I wonder if it is Possible or any used implementation that I can use in my project. Any idea or experienced knowledge is enough.
ThanksIn what format is the image coming to you from the database? If it's an InputStream subclass, just use javax.imageio.ImageIO:
InputStream in = getImageInputStream();
BufferedImage image = null;
try {
image = ImageIO.read(in);
} finally {
in.close();
// ... Display image in your JPanel as you have beenIf you receive the image as an array of bytes, use the same method as above, but with a ByteArrayInputStream:
byte[] imageData = getImageData();
ByteArrayInputStream in = new ByteArrayInputStream(imageData);
BufferedImage image = null;
try {
image = ImageIO.read(in);
} finally {
in.close();
// ... Display image in your JPanel as you have been
Maybe you are looking for
-
How to disable one single element in a 2D array?
Hello, I would like to disable one element in a 2D array. its size is constant at least. I can change its value by using a 1D array of cluster, but I can't use the property mode easily to disable an element. If you have any idea, it will be great. Th
-
Hi All, I have a scenario like this : Look into the follwing Data. PLANT | RUNDATE| WORK_CENTER| SHIFT| PRODUCT_TYPE| ALLOWED_TIME| LINEHOUR1 1010--10/01/2007D0001A400-- 0.114 1010--10/01/2007D0001B500-- 0.142 1010--10/01/2007D0001C10
-
My font for the help menu is about a 4 or 5 in size. Absolutely impossible to read without a magnifying glass ;-) How do I get the help menu to read in the standard 10 or 12 point font that it is supposed to display in? Kevin
-
IMac G5 suddenly turned off!
Hi, My iMac G5 suddenly turned off and looked like the power cable disconnected. But I am sure outside of the iMac, the power is no problem. After this, I tried to power on my iMac G5 with the power button, iMac got a loudly beep sound with the light
-
I TUNES 7 ****!!!!!!
ever since i upgrade to 7 i have tons of problems: takes forever to open the app, seems like my hd's looking for smthing and it takes forever. i try to quit the app to no avail, then all other apps i got open freeze and i got to restart the computer.