Images and Photos

3K

Solutions

5K

Contributors

Photo and imaging software is used to edit and compose raster images; Adobe Photoshop, which dominates the market, has its own topic. Common actions include cropping, slicing, retouching, color replacement, masking and erasing. Other programs include Apple Photo, Corel PaintShop Pro, GIMP, Serif PhotoPlus, Pixlr, PhotoScape, Picasa and IrfanView.

Share tech news, updates, or what's on your mind.

Sign up to Post

I am trying to learn how to use D3.js so that I can produce graphs for visualized data on my web page which is based on using Javascript.
But I am struggling trying to get an axis scale correctly rendered.
Below is the code where I draw the graph and "attempt" to put the X & Y scales on the axis.   However, if you look at the attach JPG file, the X axis is being drawn at the TOP of the graph, not the bottom where it was supposed to be.   I was calling the d3.axisBottom() as you can seen from the code.  Also, the Y axis is being placed about 10 pixels inside the left side of the graph, again even though I am using the d3.axisLeft() class.  Again you can see this in the attached file screen shot.

From the code below, does anyone have any idea what I am doing wrong?

Thank you,



var dataset = [77,361,7,9,0,0,0,0,0,266,228,454];

var svgWidth = 500;
var svgHeight = 500;
var barPadding = 5;
var barWidth = (svgWidth / dataset.length);

var svg = d3.select('svg')
	.attr("width", svgWidth)
	.attr("height", svgHeight);


var xScale = d3.scaleLinear()
        .domain([0,svgWidth + 150])
        .range([0,svgWidth + 150]);

var x_axis = d3.axisBottom()
        .scale(xScale)
        .ticks(10);

svg.append("g")
        .call(x_axis);

var yScale = d3.scaleLinear()
        .domain([d3.min(dataset),(d3.max(dataset) + 200)])
        .range([svgHeight,0]);

var y_axis = d3.axisLeft()
        .scale(yScale);

svg.append("g")
        .attr("transform", "translate(50,10)")
 

Open in new window

0
Pagespeed has indicated I need to change my images from png and jpeg to a next-gen format.  I found a place online that converted my png to jpeg 2000.  Now I need to know how to load both files rather than just the one for my images to be optimized.

I am using Wordpress and I don't see a means to include both files when I want to insert the image in a page.

https://gyazo.com/7c1b5f47001351ce8f82845ef05d07bc

Please tell me how to do this or tell me another means to get my images in next-gen formats.

Thanks,
0
Hi Experts,

I recently consolidated a number of contacts that were duplicated in my contacts list on my Android S9+ mobile phone.

Now I've noticed that a lot of the consolidated contacts have the wrong avatar of the persons face, in many cases, the avatar on the contact is of a totally different person than who the contact in my phone really is.

Can anyone explain the best way to fix this so that the pictures on the contacts are correct? Please include step by step instructions if possible as I'm relatively new to Android phones, being an Iphone user for many years.

Many thanks for any help.

Regards, Andrew
0
Using Microsoft Access (2003)
I have a form with a text box called PicFileName and an Image Control called PersonImage
The intent is that the following code will cause .jpg (picture) to appear in PersonImage, without the .jpg being embedded in the table behind this form (in order to save space)
The following code accomplishes this perfectly:

Dim strPicName As String
Dim strPicPath As String
Dim strSource As String

strPicPath = C:\Pix                 C:\Pix is the folder containing the jpg
strPicName = ABCD.jpg       ABCD.jpg is the filename of the picture

strSource = "" & strPicPath & strPicName & ""              in this case it will be C:\Pix\ABCD.jpg

If Not IsNull(Me.PicFileName) And Me.PicFileName <> "" Then
    Me.PersonImage.Picture = strSource
End If


As I said this works perfectly in all computers on my LAN, EXCEPT for ONE which returns an error 2114 saying that this code is not supported OR the jpg is too large!  I have reduced the size of the .jpg to a few K, to no avail.

ALL COMPUTERS ON THE LAN USE THE SAME OS (Win 10 Pro), AND THE SAME VERSION OF ACCESS, AND GET THEIR JPG FROM THE SAME FOLDER,  and the above process runs perfectly for the last six years!!

QUESTION: What needs to be adjusted in the one computer where this is not working?
0
I have files with a DWG extension.  They were made a bunch of years ago and are supposedly blueprints. they are about 100KB files.  They've been sitting on a thumb drive for years.

I've tried opening them with irfanview and LibreCAD.  Both say they can't open them.

I used https://www.zamzar.com/convert/dwg-to-pdf/ for one of them and it made a PDF with some rectangular shapes / lines, but likely not all that shoudl be there and not aligned correctly (1 rectangle is off to the side).  Is it because they are old and newer programs cant render them correctly? Or they corrupt?

Any recommendations on a universal viewer or something that might be able to open the files?  We're looking to make PDFs or something so we can print them on a large paper printer at staples.
0
Microsoft Photos keeps popping up when I connect my iPhone to the PC.
How can I stop it from doing it?

Thanks,
Mihai
0
I would like to download all photos from the iCloud to my Windows 7 PC
How can I get all my photos off iCloud (empty) and store them on my PC?
0
Are there any builti-in tools in Windows 10  to capture JPG images from an MP4 video file? If not, what is the best free app to do this? Thanks!
0
I had selected 2 pictures from pictures folder to be used as background. I do not wish to keep them as background. In another word I wanted to delete them from the location in which they are stored at. The problem is they do not show up in the default location for the background. See screen captures. How do I go about deleting them? The 2 pictures are 1.The Water Falls and 2.The Red Rose.

Thank you.







0
Hi,
I need the way to select one area and insert color inside, while the background details are still shown, to the picture, in GIMP.

Or is it not achievable to this, in MS paint?
0
Dear,
Within MS painter, how to fill part of area (highlighted below), with specific yellow colour?

33m.png
0
Hi, guys,

I am using pdfimages.exe command line program (http://www.foolabs.com/xpdf/download.html), to convert pdffiles to images... I want the generated images in jpg format. The software has an option "-j" to do that. My question is how to send to a cmd line program the parameters thru the shellapi... I mean, I have to send to the cmd line the next string: "pdfimages -j source.pdf new". Any ideas?
regards
Lopem
0
In Nuance Power PDF Advanced ver. 2.1 I have a lot of photos that I would like to organize into folders, or something similar to folders, is there a way to do this>
0
My cousin ask for help with this
Can someone help with this?
Can you do it?

Thanks


CAN YOU GET TWO PICS TO FIT ON A PAGE
AND PUT A BORDER(TWO LINES) AROUND EACH PIC AND NAME
AND CENTER THE NAME UNDER THE PIC
pic-pres-and-pm.docx
0
Is there a way to increase the size of the thumbnail photos in Windows 10 Explorer?  The "Extra Large" View doesn't cut it for my aging eyes.  I would be happy to buy a third-party program, if necessary.

Thanks,

Phil
0
Why does Power Point (Mac 2018 version) darken images?

When I run the presentation, all my images get darkened. And some become unusable.

Is this a setting i can turn off? I want the images to show exactly as they are in Power Point.

Thanks.
0
Following is a question from Image Signal Processing Book:

Determine the actual physical measurement in millimeters of an image with 1400 rectangular pixels and a resolution of 72 dpi.

Is pixel a dot ?
0
Need help with Photoshop 5.1.  I've down loaded a shamrock from the net.  I need to fill it with "Kelly Green" and add some centered text into the image itself.
As far as filling, everything that I've read on the net doesn't work.

Also, how do you center text in the image.

Thanks
Glenn
0
I was hoping to get some help on writing a PowerShell script. The main goal of the script is to rename many JPG files within a folder. Currently, All of the JPGs are in sequential order ( 1.jpg, 2.jpg, 3.jpg....), and we need to rename those files with the username that is associated with the user who is in the photo, while still keeping the .jpg extension. We currently have an Excel file (CSV) that is two columns, one being "DisplayName" and the other is "Number" (the file name/number that is associated with the user).  Our script currently reads:

# Reads csv file
$ListofUsers = Import-Csv -Path "...EmployeePhotos\Testing\UserRename.csv" -Header "DisplayName","Number"

ForEach ($User in $ListofUsers) {
#Get username
write-host $User.DisplayName,$user.Number
$userDname = $User.DisplayName
$sam = Get-ADUser -Filter {Name -like $userDname} -Properties SamAccountName
#Rename File
Format-Table -HideTableHeaders
    if ($sam.Samaccountname -ne $null) {

    write-host $sam.Samaccountname

    } else {
    write-host "Bad Name $userDname" -ForegroundColor Red
    }
    }

$HashTable = @{a = 1 ;b = 2}
$var.GetEnumerator() | Get-Member -HideHeaders
foreach ($userDname in $ListofUsers) {
    $HashTable = @{
        $User.DisplayName = $sam
        $ListofUsers = $User.Number
        }
        $HashTable
        }
       
   
   # You need to make it recognize that file 1 is attached to XXXXXXX file 2 is attached to XXXXX...ext.
   #user.number =
  …
0
I have a physical stamp with some info on it and I stamp invoices and then I scan them to email addresses.  Is there a way to take a plain sheet of paper, stamp it and scan it as a jpeg or a pdf and then when I get these invoices I somehow "add" the pdf or jpeg of the stamp onto the invoice?  What would be the best and easiest way to do this?  I have a mac computer and a windows computer if that matters.
0
For some strange reason a users OneNote in his iPhone is super slow in pages that have lot of data.  This problem has never occur and the user has a bunch of pages clogged with data and always OneNote has need working optimum.

Today we noticed the user typed and the characters were super slow to appear the pages with lots of data (FYI there is no images in these pages just typed data and links) - below is a vid of said problem.  However in a new page or a small or regular page contents, typing is ok.

What can be going on?  Please advice.
0
Hello,

I am trying to split color in a <div> then place a transparent PNG image over the colors:

background: linear-gradient(to bottom, rgba(0, 0, 0, .0) 50%, rgba(255, 255, 255, 1.0) 50%);
background-image:url(../images/header.png);

or

background-image:url(../images/header.png);
background: linear-gradient(to bottom, rgba(0, 0, 0, .0) 50%, rgba(255, 255, 255, 1.0) 50%);

The latter of the 2 overrides the former.

Please advise.

Thank you,

Don
0
Hi,

This is related to Windows 10.
Unable to open the PNG or JPEG files
I go to Setting > Photo Viewer > I saw 3 options of Apps: Photos, Adobe Photoshop Express, Paint.
All the 3 apps would not open the png or jpeg files.


tjie
0
I occasionally have need to be able to let others view pictures I have taken. I need  the name of a site that I can upload photos to and give a website address to one or many people so that they can view, but not alter or delete the photos. I am looking for a free or next to free service. Please suggest sites that will let me accomplish this goal.
0
How to crop with Irfanview and discard the black leftover?
Actually meant to crop the rest on the left side and top and bottom to leave the map portion.

This laptop and Windows 8 does not have the best cropper user wise which is Microsoft Picture Manager.

I tried cropping with Paint and little results.
0

Images and Photos

3K

Solutions

5K

Contributors

Photo and imaging software is used to edit and compose raster images; Adobe Photoshop, which dominates the market, has its own topic. Common actions include cropping, slicing, retouching, color replacement, masking and erasing. Other programs include Apple Photo, Corel PaintShop Pro, GIMP, Serif PhotoPlus, Pixlr, PhotoScape, Picasa and IrfanView.